摘要: Problem B: Double KingsTime Limit:1 SecMemory Limit:128 MBSubmit:142Solved:65[Submit][Status][Web Board]DescriptionOur country is tree-like structure, that is to say that N cities is connected by exactly N - 1 roads.The old king has two little sons. To make everything fairly, he dicided to divide th 阅读全文
posted @ 2012-11-30 22:25 YogyKwan 阅读(201) 评论(0) 推荐(0) 编辑
摘要: A.Convex计算几何:算各个三角形面积再相加B.Double Kings图论:先用无向图保存,然后边建树边计算划分后的某一边的数量,最后找出相差最小的那种方式E.The Game about KILL数论:约瑟夫环的简化版,可直接找规律推出答案4020112685jingg.cxy303:40:2400:28:3001:53:59(-2)00:37:55 阅读全文
posted @ 2012-11-30 22:18 YogyKwan 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Gao The SequenceTime Limit:2 Seconds Memory Limit:65536 KBYou are given a sequence of integers,A1,A2,...,An. And you are allowed a manipulation on the sequence to transform the origin sequence into another sequenceB1,B2,...,Bn(Maybe the two sequences are same ). The manipulation is specified as the 阅读全文
posted @ 2012-11-30 18:50 YogyKwan 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Search in the WikiTime Limit:2 Seconds Memory Limit:65536 KBAs we known, Searching in Wiki is an useful way for everyone who wants to get information. Wiki, a website which allows its users to add, modify, or delete its content via a web browser, is famous for its huge information. You can find almo 阅读全文
posted @ 2012-11-30 17:43 YogyKwan 阅读(216) 评论(0) 推荐(0) 编辑
摘要: E. Mad Joetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputJoe has been hurt on the Internet. Now he is storming around the house, destroying everything in his path.Joe's house hasnfloors, each floor is a segment ofmcells. Each cell either con 阅读全文
posted @ 2012-11-30 17:15 YogyKwan 阅读(162) 评论(0) 推荐(0) 编辑