觉得浮夸了四年,漠然发现原来是浮躁了四年!

摘要: DescriptionYou have just moved from Waterloo to a big city. The people here speak an incomprehensible dialect of a foreign language. Fortunately, you have a dictionary to help you understand them.InputInput consists of up to 100,000 dictionary entries, followed by a blank line, followed by a message 阅读全文
posted @ 2012-10-29 22:31 heat nan 阅读(168) 评论(0) 推荐(0)
摘要: PairsTime Limit: 5000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 329 Accepted Submission(s): 159Problem DescriptionGiven n positive integers, is it possible to divide them into pairs so that the sum of each pair is the same?InputThe input contains several tes 阅读全文
posted @ 2012-10-29 10:18 heat nan 阅读(223) 评论(0) 推荐(0)