随笔分类 -  杂题

摘要:DescriptionYou know that the first problem of an online judge system should be the "A+B Problem", but TOJ not. What a terrible! So now it comes... Given a series of numbers, your task is to find the largest number C in the sequence, which is the sum of two other numbers A and B in the sequ 阅读全文
posted @ 2013-09-05 22:42 线性无关 阅读(134) 评论(0) 推荐(0)
摘要:产生冠军Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6650Accepted Submission(s): 3173Problem Description有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之间最多打一场比赛。球赛的规则如下:如果A打败了B,B又打败了C,而A与C之间没有进行过比赛,那么就认定,A一定能打败C。如果A打败了B,B又打败了C,而且,C又打败了A,那么A、B、C三者都不可能成为冠军。根据这个规则,无需循环较量,或许就能 阅读全文
posted @ 2013-09-04 22:06 线性无关 阅读(94) 评论(0) 推荐(0)
摘要:Doing Homework again Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4263Accepted Submission(s): 2487Problem DescriptionIgnatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadl. 阅读全文
posted @ 2013-05-26 19:14 线性无关 阅读(119) 评论(0) 推荐(0)