摘要:
SquareTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 7090Accepted Submission(s): 2298Problem DescriptionGiven a set of sticks of various lengths, is it possible to join them end-to-end to form a square?InputThe first line of input contains N, the 阅读全文
posted @ 2014-03-12 20:46
heaventouch
阅读(213)
评论(0)
推荐(0)
摘要:
最短路Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 26172Accepted Submission(s): 11289Problem Description在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最短的从商店到赛场的路线,你可以帮助他们吗?Input输入包括多组数据。每组数据第一行是两个整数N、M(N12 #inclu 阅读全文
posted @ 2014-03-12 19:10
heaventouch
阅读(331)
评论(0)
推荐(0)
摘要:
I Hate ItTime Limit: 9000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 32083Accepted Submission(s): 12698Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到文件结束。在每 阅读全文
posted @ 2014-03-12 18:48
heaventouch
阅读(194)
评论(0)
推荐(0)
摘要:
More is betterTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 327680/102400 K (Java/Others)Total Submission(s): 11952Accepted Submission(s): 4417Problem DescriptionMr Wang wants some boys to help him with a project. Because the project is rather complex,the more boys come, the better it will be. 阅读全文
posted @ 2014-03-12 17:01
heaventouch
阅读(214)
评论(0)
推荐(0)

浙公网安备 33010602011771号