随笔分类 - ACM之搜索
摘要:http://poj.org/problem?id=1753 Flip Game Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 39180 Accepted: 17033 Description Flip game is pla
阅读全文
摘要:http://acm.nyist.net/JudgeOnline/problem.php?pid=27水池数目时间限制:3000ms | 内存限制:65535KB难度:4描述南阳理工学院校园里有一些小河和一些湖泊,现在,我们把它们通一看成水池,假设有一张我们学校的某处的地图,这个地图上仅标识了此处是...
阅读全文
摘要:http://acm.uestc.edu.cn/#/problem/show/1088王之迷宫Time Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)SubmitStatus王被困在了一个3维的迷...
阅读全文
摘要:http://codeforces.com/contest/520/problem/BTwo ButtonsVasya has found a strange device. On the front panel of a device there are: a red button, a blue...
阅读全文
摘要:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=649RescueTime Limit:2 Seconds Memory Limit:65536 KBAngel was caught by the MOLIGPY! He was ...
阅读全文
摘要:http://poj.org/problem?id=3278Catch That CowTime Limit:2000MSMemory Limit:65536KTotal Submissions:52463Accepted:16451DescriptionFarmer John has been i...
阅读全文
摘要:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=4Anagrams by StackTime Limit:2 Seconds Memory Limit:65536 KBHow can anagrams result from se...
阅读全文
摘要:http://poj.org/problem?id=1088滑雪Time Limit:1000MSMemory Limit:65536KTotal Submissions:79806Accepted:29701DescriptionMichael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获...
阅读全文
摘要:1.前n个自然数的所有排列: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int count=1,n; 8 bool *b; 9 int *a;10 11 void dfs(int);12 13 int mai...
阅读全文