上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 77 下一页
摘要: 三个水杯时间限制:1000 ms | 内存限制:65535 KB 难度:4描述给出三个水杯,大小不一,并且只有最大的水杯的水是装满的,其余两个为空杯子。三个水杯之间相互倒水,并且水杯没有标识,只能根据给出的水杯体积来计算。现在要求你写出一个程序,使其输出使初始状态到达目标状态的最少次数。输入第一行一... 阅读全文
posted @ 2015-09-28 21:22 handsomecui 阅读(955) 评论(0) 推荐(0) 编辑
摘要: 组合数时间限制:3000ms | 内存限制:65535KB难度:3描述找出从自然数1、2、... 、n(0 2 #include 3 int n,r; 4 int ans[15]; 5 void dfs(int top,int num){ 6 if(num==r){ 7 fo... 阅读全文
posted @ 2015-09-27 21:00 handsomecui 阅读(559) 评论(0) 推荐(0) 编辑
摘要: 吝啬的国度时间限制:1000ms | 内存限制:65535KB难度:3描述在一个吝啬的国度里有N个城市,这N个城市间只有N-1条路把这个N个城市连接起来。现在,Tom在第S号城市,他有张该国地图,他想知道如果自己要去参观第T号城市,必须经过的前一个城市是几号城市(假设你不走重复的路)。输入第一行输入... 阅读全文
posted @ 2015-09-27 17:43 handsomecui 阅读(398) 评论(0) 推荐(0) 编辑
摘要: Cube Stacking Time Limit: 2000MS Memory Limit: 30000K Total Submissions: 21567 Accepted: 7554 Case Time Limit: 1000MS Description Farmer John and Bets 阅读全文
posted @ 2015-09-27 16:23 handsomecui 阅读(887) 评论(0) 推荐(0) 编辑
摘要: Scaena FelixTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 101Accepted Submission(s): 49Problem D... 阅读全文
posted @ 2015-09-26 22:05 handsomecui 阅读(324) 评论(0) 推荐(0) 编辑
摘要: A -An easy problemTime Limit:3000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusPracticeHDU 2601DescriptionWhen Teddy was a child , he... 阅读全文
posted @ 2015-09-26 21:43 handsomecui 阅读(151) 评论(0) 推荐(0) 编辑
摘要: Good Luck in CET-4 Everybody!Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7016Accepted Submissi... 阅读全文
posted @ 2015-09-26 21:36 handsomecui 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Paths on a GridTime Limit:1000MSMemory Limit:30000KTotal Submissions:23270Accepted:5735DescriptionImagine you are attending your math lesson at school... 阅读全文
posted @ 2015-09-26 21:29 handsomecui 阅读(464) 评论(0) 推荐(0) 编辑
摘要: How Many Equations Can You FindTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 714Accepted Submiss... 阅读全文
posted @ 2015-09-26 21:25 handsomecui 阅读(286) 评论(0) 推荐(0) 编辑
摘要: Sum UpTime Limit:2 Seconds Memory Limit:65536 KBVivid has stored a piece of private information, which consisted of a serial of integers in a secret n... 阅读全文
posted @ 2015-09-26 20:38 handsomecui 阅读(596) 评论(4) 推荐(1) 编辑
上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 77 下一页