摘要: DescriptionA new Semester is coming and students are troubling for selecting courses. Students select their course on the web course system. There are n courses, the ith course is available during the time interval (Ai,Bi). That means, if you want to select the ith course, you must select it after t 阅读全文
posted @ 2013-09-05 23:32 Oyking 阅读(367) 评论(0) 推荐(0) 编辑
摘要: DescriptionMath Olympiad is called “Aoshu” in China. Aoshu is very popular in elementary schools. Nowadays, Aoshu is getting more and more difficult. Here is a classic Aoshu problem: ABBDE __ ABCCC = BDBDEIn the equation above, a letter stands for a digit(0 � 9), and different letters stands for dif 阅读全文
posted @ 2013-09-05 23:00 Oyking 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Description“Farm Game” is one of the most popular games in online community. In the community each player has a virtual farm. The farmer can decide to plant some kinds of crops like wheat or paddy, and buy the corresponding crop seeds. After they grow up, The farmer can harvest the crops and sell th 阅读全文
posted @ 2013-09-05 22:14 Oyking 阅读(368) 评论(0) 推荐(0) 编辑
摘要: DescriptionAliens on planet Pandora also write computer programs like us. Their programs only consist of capital letters (‘A’ to ‘Z’) which they learned from the Earth. On planet Pandora, hackers make computer virus, so they also have anti-virus software. Of course they learned virus scanning algori 阅读全文
posted @ 2013-09-05 17:11 Oyking 阅读(792) 评论(0) 推荐(0) 编辑
摘要: DescriptionA Telephone Line Company (TLC) is establishing a new telephone cable network. They are connecting several places numbered by integers from 1 to N . No two places have the same number. The lines are bidirectional and always connect together two places and in each place the lines end in a t 阅读全文
posted @ 2013-09-05 14:40 Oyking 阅读(189) 评论(0) 推荐(0) 编辑