摘要: Ignatius and the Princess ITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10050Accepted Submission(s): 3022Special JudgeProblem DescriptionThe Princess has been abducted by the BEelzebub feng5166, our hero Ignatius has to rescue our pretty Princes 阅读全文
posted @ 2013-08-17 22:34 SprayT 阅读(144) 评论(0) 推荐(0) 编辑
摘要: NecklaceTime Limit: 15000/5000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2004Accepted Submission(s): 718Problem De... 阅读全文
posted @ 2013-08-14 20:42 SprayT 阅读(190) 评论(0) 推荐(0) 编辑
摘要: StarsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3573Accepted Submission(s): 1396Problem Descr... 阅读全文
posted @ 2013-08-14 19:19 SprayT 阅读(127) 评论(0) 推荐(0) 编辑
摘要: Balanced LineupTime Limit: 5000MSMemory Limit: 65536KTotal Submissions: 28851Accepted: 13593Case Time Limit: 2000MSDescriptionFor the daily milking, F... 阅读全文
posted @ 2013-08-14 16:31 SprayT 阅读(201) 评论(0) 推荐(0) 编辑
摘要: Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。Input本题目包含多组测试,请处理到... 阅读全文
posted @ 2013-08-14 16:14 SprayT 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 饭卡Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7353Accepted Submission(s): 2503Problem Description电子科大本部食堂的饭卡有一种很诡异的设计,即在购买之前判断余额。如果购买一个商品之前,卡上的剩余金额大于或等于5元,就一定可以购买成功(即使购买后卡上余额为负),否则无法购买(即使金额足够)。所以大家都希望尽量使卡上的余额最少。某天,食堂中有n种菜出售,每种菜可购买一次。已知每种菜的价格以及卡 阅读全文
posted @ 2013-08-14 15:06 SprayT 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 小明系列故事——师兄帮帮忙Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 3320Accepted Submission(s): 851Problem Description 小明自从告别了ACM/ICPC之后,就开始潜心研究数学问题了,一则可以为接下来的考研做准备,再者可以借此机会帮助一些同学,尤其是漂亮的师妹。这不,班里唯一的女生又拿一道数学题来请教小明,小明当然很高兴的就接受了。不过等他仔细读题以后,发现自己也不会做,这下小明囧了:如果. 阅读全文
posted @ 2013-08-14 15:03 SprayT 阅读(193) 评论(0) 推荐(0) 编辑
摘要: SeasideTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 952Accepted Submission(s): 677 Problem Des... 阅读全文
posted @ 2013-08-13 20:24 SprayT 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 最短路径问题给你n个点,m条无向边,每条边都有长度d和花费p,给你起点s终点t,要求输出起点到终点的最短距离及其花费,如果最短距离有多条路线,则输出花费最少的。输入n,m,点的编号是1~n,然后是m行,每行4个数 a,b,d,p,表示a和b之间有一条边,且其长度为d,花费为p。最后一行是两个数 s,... 阅读全文
posted @ 2013-08-13 20:18 SprayT 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 六度分离Time Limit: 5000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3080Accepted Submission(s): 1189Problem Descr... 阅读全文
posted @ 2013-08-13 20:10 SprayT 阅读(166) 评论(0) 推荐(0) 编辑