随笔分类 - 搜索 DFS
摘要:EvilTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100463/attachmentsDescriptionRichard is evil. He wants to give another geometr...
阅读全文
摘要:J. Deck ShufflingTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100187/problem/JDescriptionThe world famous scientist Innokentiy ...
阅读全文
摘要:C. Love TrianglesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/553/problem/CDescriptionThere are many anime that are about "...
阅读全文
摘要:C. Vanya and ScalesTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/552/problem/CDescriptionVanya has a scales for weighing loa...
阅读全文
摘要:B. Preparing OlympiadTime Limit: 20 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/550/problem/BDescriptionYou have n problems. You have est...
阅读全文
摘要:CannonTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4499DescriptionIn Chinese Chess, there is one kind of powerf...
阅读全文
摘要:KastenlaufTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/problem/show/3DescriptionOnce every year, Jo and his friends want to vis...
阅读全文
摘要:棋盘占领Time Limit: 20 SecMemory Limit: 256 MB题目连接http://bestcoder.hdu.edu.cn/contests/contest_showproblem.php?cid=601&pid=1003Description百小度最近迷恋上了一款游戏,游戏...
阅读全文
摘要:Escape Time IITime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3620DescriptionThere is a fire in...
阅读全文
摘要:吴队长征婚Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/contest/show/61Description吴队长征婚这件事因为请客而没有传出去(虽然他忘了请一个队吃饭),于是吴队长高兴地玩起了木棒。吴队长拿了...
阅读全文
摘要:基爷与加法等式Time Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.uestc.edu.cn/#/contest/show/61Description一天,上小学的妹妹跑过来问基爷一道字母加法等式,基爷不假思索的便给出了一组可行解。聪明的你发现,一...
阅读全文
摘要:C. Xor-treeTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/430/problem/CDescriptionIahub is very proud of his recent discovery,...
阅读全文
摘要:B. Balls GameTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/430/problem/BDescriptionIahub is training for the IOI. What is a b...
阅读全文
摘要:B. Om Nom and Dark ParkTime Limit: 1 SecMemory Limit: 256 MB题目连接http://codeforces.com/contest/526/problem/BDescriptionOm Nom is the main character of ...
阅读全文
摘要:
给你n个数,k个魔法棒,s为所求的数,然后让你找有多少种方法,能够使的这n个数之和为s,其中一个魔法棒可以使的一个数变成他的阶乘。
阅读全文
给你n个数,k个魔法棒,s为所求的数,然后让你找有多少种方法,能够使的这n个数之和为s,其中一个魔法棒可以使的一个数变成他的阶乘。
阅读全文
摘要:
给你一个n*m的田地,有一些*的地方是可以移除变成"。"的,然后问你移除最少的"*",使的每一个"。"的联通块都是矩形
阅读全文
给你一个n*m的田地,有一些*的地方是可以移除变成"。"的,然后问你移除最少的"*",使的每一个"。"的联通块都是矩形
阅读全文
摘要:题目描述设在一排上有N个格子(N≤20),若在格子中放置有不同颜色的灯,每种灯的个数记为N1,N2,……Nk(k表示不同颜色灯的个数)。 放灯时要遵守下列规则:①同一种颜色的灯不能分开;②不同颜色的灯之间至少要有一个空位置。 例如:N=8(格子数) R=2(红灯数) B=3(蓝灯数) 放置的方法有:...
阅读全文
摘要:LianLianKanTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2884Accepted Submission(s): 898Problem ...
阅读全文
摘要:USACO ORZTime Limit: 5000/1500 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3581Accepted Submission(s): 1196Problem D...
阅读全文
摘要:给你n*m的格子和K个颜色,然后问你能不能涂出每个格子相邻的颜色都不一样的图案,任意输出一种就好
阅读全文

浙公网安备 33010602011771号