摘要:
题目链接: https://nanti.jisuanke.com/t/44460 有向无环图,求点1到位置大于L的点的路径数 #include<bits/stdc++.h> using namespace std; vector<int>mp[2005]; queue<int>q; int anss 阅读全文
摘要:
连连看 Time Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 50473 Accepted Submission(s): 12725 Problem 阅读全文
摘要:
Eight Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 41040 Accepted: 16901 Special Judge Description The 15-puzzle has been around for ove 阅读全文
摘要:
Friend Chains Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7112 Accepted Submission(s): 2304 P 阅读全文
摘要:
Ant Trip Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5501 Accepted Submission(s): 2146 Proble 阅读全文
摘要:
dfs,对于每个点数的牌,都有:不出、作为同花出、作为顺子出这三种选择 #include<bits/stdc++.h> using namespace std; int a[20],x,anss=0x3f3f3f3f; void dfs(int k) { if(k>13) { int sum=0; 阅读全文
摘要:
Asteroids! Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7089 Accepted Submission(s): 4386 Prob 阅读全文
摘要:
转载自https://www.cnblogs.com/magisk/p/8809922.html 记录一下 C++的 bitset 在 bitset 头文件中,它是一种类似数组的结构,它的每一个元素只能是0或1,每个元素仅用1bit空间。 下面是具体用法 构造函数 bitset常用构造函数有四种,如 阅读全文
摘要:
排列2 Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 18157 Accepted Submission(s): 5972 Problem De 阅读全文
摘要:
士兵队列训练问题 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 20295 Accepted Submission(s): 8545 Probl 阅读全文
摘要:
圆桌问题 Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 7955 Accepted Submission(s): 2851 Problem De 阅读全文
摘要:
We all know that you can’t put a round peg in a square hole. Asking you to do so in this contestwould be cruel and unusual punishment, which is banned 阅读全文
摘要:
Arup has just created a data structure that makes the two following list transformations in constant O(1) time:a. Take any element in the list and mov 阅读全文
摘要:
数据分割 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2457 Accepted Submission(s): 748 Problem Des 阅读全文
摘要:
Farm Irrigation Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12884 Accepted Submission(s): 553 阅读全文
摘要:
Is It A Tree? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 36235 Accepted Submission(s): 8310 阅读全文
摘要:
小希的迷宫 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 79802 Accepted Submission(s): 25127 Problem 阅读全文
摘要:
Dragon Balls Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10628 Accepted Submission(s): 3802 P 阅读全文
摘要:
食物链 Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 115341 Accepted: 35101 Description 动物王国中有三类动物A,B,C,这三类动物的食物链构成了有趣的环形。A吃B, B吃C,C吃A。 现有N个 阅读全文
摘要:
Cube Stacking Time Limit: 2000MS Memory Limit: 30000K Total Submissions: 31012 Accepted: 10904 Case Time Limit: 1000MS Description Farmer John and Bet 阅读全文