随笔分类 -  广搜

摘要:键盘上的蚂蚁Time Limit: 1000msMemory Limit: 65536KB64-bit integer IO format: %lld Java class name: MainPrev Submit Status Statistics Discuss NextFont Size:+- Type:Tag it!键盘上有一只蚂蚁,而且是会打字的蚂蚁。当然,蚂蚁不能像我们人类一样用双手去敲击键盘。它只能够从一个按键爬到另外一个相邻的按键,然后用尽全身的力量原地跳下去按下按键。考虑上图中的键盘,有公共边的按键被认为是相邻的,蚂蚁只能够在相邻的按键之间移动,而不能够跳跃。例如,它要打. 阅读全文
posted @ 2013-09-25 21:48 我家小破孩儿 阅读(335) 评论(0) 推荐(0)
摘要:A strange liftTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8989Accepted Submission(s): 3404Problem DescriptionThere is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 # include # include # include # in 阅读全文
posted @ 2013-08-27 15:38 我家小破孩儿 阅读(241) 评论(0) 推荐(0)
摘要:RemainderTime Limit: 6000/3000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2251Accepted Submission(s): 477Problem DescriptionCoco is a clever boy, who is good at mathematics. However, he is puzzled by a difficult mathematics problem. The problem is: Given three inte 阅读全文
posted @ 2013-08-14 09:24 我家小破孩儿 阅读(232) 评论(0) 推荐(0)
摘要:胜利大逃亡Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 21700Accepted Submission(s): 8520Problem DescriptionIgnatius被魔王抓走了,有一天魔王出差去了,这可是Ignatius逃亡的好机会.魔王住在一个城堡里,城堡是一个A*B*C的立方体,可以被表示成A个B*C的矩阵,刚开始Ignatius被关在(0,0,0)的位置,离开城堡的门在(A-1,B-1,C-1)的位置,现在知道魔王将在T分钟 阅读全文
posted @ 2013-08-03 23:58 我家小破孩儿 阅读(202) 评论(0) 推荐(0)
摘要:Open the LockTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3020Accepted Submission(s): 1327Problem DescriptionNow an emergent task for you is to open a password lock. The password is consisted of four digits. Each digit is numbered from 1 to 9. E 阅读全文
posted @ 2013-08-03 23:54 我家小破孩儿 阅读(407) 评论(0) 推荐(0)