POJ 2488 A Knight's Journey DFS
摘要:A Knight's JourneyTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 21849Accepted: 7379DescriptionBackground The knight is getting bored of seeing the same black and white squares again and again and has decided to make a journey around the world. Whenever a knight moves, it is two square
阅读全文
POJ 3278 Catch That Cow BFS
摘要:Catch That CowTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 32071Accepted: 9866DescriptionFarmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number line and the cow is at a point K (0 ≤ K ≤ 100,
阅读全文
POJ 1753 Flip Game 枚举+DFS
摘要:Flip GameTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 20263Accepted: 8783DescriptionFlip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other one is black and each piece is lying either it's bl
阅读全文
CO-ABILITY DFS+DP
摘要:CO-ABILITYTime Limit : 3000/1000ms (Java/Other)Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 20Accepted Submission(s) : 11Font: Times New Roman | Verdana | GeorgiaFont Size: ← →Problem DescriptionThe Regional Contest is coming near, and all the acmers become very excited. As well as
阅读全文
DFS+路径存储
摘要:King Arthur's KnightsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 525Accepted Submission(s): 111Special JudgeProblem DescriptionI am the bone of my sword. Steel is my body, and the fire is my blood.- from Fate / Stay NightYou must have known
阅读全文