-
个人简介
肝力图用户近期没有做题或开启了隐私保护日 一 二 三 四 五 六LessMore -
最近发帖动态
发帖 飞机降落(编程题) - 题解 2024-4-12 15:53:37 include using namespace std; struct node{ }q[11]; int t,n; bool book[11];//标记第i架飞机是否降落 bool dfs(int num,int last) { } in... 发帖 货物摆放(结果填空) - 题解 2024-4-12 8:56:39 if(maxn%x==0)return true; else return false; if(maxn%(a\b)==0)return true; else return false; //ios::sync\_with\_stdio(f... 发帖 路径(结果填空) - 题解 2024-4-12 0:18:33 include using namespace std; define ll long long int a[2050][2050]; int d[2025]; int gcd(int a,int b) { } int lcm(int a,... 发帖 李白打酒加强版(编程题) - 题解 2024-4-11 21:43:56 } 发帖 冶炼金属(编程题) - 题解 2024-4-11 19:50:26 ` } ` 发帖 统计子矩阵(编程题) - 题解 2024-4-11 19:45:05 include using namespace std; int n,m,k; int a[505][505]; long long ans=0; int main(){ //ios::sync\_with\_stdio(false),co... 发帖 刷题统计(编程题) - 题解 2024-4-11 15:37:59 include using namespace std; typedef long long ll; int main(){ ios::sync\_with\_stdio(false),cout.tie(0),cin.tie(0); //每... 发帖 修剪灌木(编程题) - 题解 2024-4-11 12:19:56 本题可以看出最高的高度其实与平常没有什么区别,因为爱丽丝如果走到第i棵树 ,那么她回来再次遇见这棵树的路程是相同的所以要2,然后我们只考虑了右端点,没有考虑左端点,所以要i-1;最后取max include using namespace... 发帖 积木画(编程题) - 题解 2024-4-11 11:54:53 本体要运用到数学知识,进行推理 include using namespace std; const int N=1e7+10,mod=1000000007; int f[N]; int main(){ ios::sync\_with\_s... 发帖 空间(结果填空) - 题解 2024-4-11 1:08:36 直接用计算器或者excel算,256 1024 1024/4 发帖 直线(结果填空) - 题解 2024-4-11 1:02:42 本题的关键就在于是否想到了set排序,记住set排序还有map,multiset,multimap的区别,且都属于红黑树的一类,以及pair的应用(本人当时做题也忘了,所以看了一下题解,就悟了),还有记得将int类型的x1,x2,y1,y2... 发帖 矩阵(结果填空) - 题解 2024-4-10 22:53:47 有个细节需要关注就是题中说“同一列中下面的比上面的大,但是人家没说下面的一定比上面的小”这就说明了这个数肯定是当前矩阵中最大的数,不管放上面还是放下面都必须放在最右边,然后用dp的动态转移方程就行了 include using namesp... 发帖 REPEAT 程序(结果填空) - 题解 2024-4-10 22:07:09 本题作为蒟蒻的我属实想不通这题怎么写,只能看看csdn上面一些现成的抄下来,如有大佬,还请教教我怎么更好的理解此题 include using namespace std; int main(){ } 发帖 跑步训练(结果填空) - 题解 2024-4-10 19:38:46 include using namespace std; int main(int argc,char\\ argv)\//argc 表示参数的个数, argv 表示参数的[字符串数组] { int sum=10000; int count... 发帖 合并检测(结果填空) - 题解 2024-4-10 18:35:04 int dfs(int n) { int cnt=0; cnt=(s/n)+n;//所需的试剂数量,比如(100/20)+20(因为是1%所以必有一个阳性) } int main() { } 发帖 纪念日(结果填空) - 题解 2024-4-10 16:49:38 using namespace std; int main() { int num=0; for(int month=1;month<=12;month++) for(int day=1;day<=31;day++) { else if (... -
通过的题目
-
最近活动
This person is lazy and didn't join any contests or homework. -
最近编写的题解
This person is lazy and didn't write any solutions.
题目标签
- dfs
- dfs 2
- 树
- 树 2
- 递归
- 递归 1
- 全排列
- 全排列 1
- bfs
- bfs 1



