上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 统计难题Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 165 Accepted Submission(s): 106Problem DescriptionIgnatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀).Input输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表的是老师交给Ignatius统. 阅读全文
posted @ 2012-09-16 00:11 YogyKwan 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 5.1.1A Bug's Life37.85%(134,354)5.1.2小希的迷宫54.78%(63,115)5.1.3Is It A Tree?38.90%(142,365)5.1.4Farm Irrigation58.23%(46,79)5.1.5Rank of Tetris44.87%(35,78)5.1.6find the most comfortable road51.69%(46,89)5.1.7Dragon Balls53.56%(128,239)5.1.8How Many Answers Are Wrong44.76%(111,248)5.1 并查集及路径压缩5.2. 阅读全文
posted @ 2012-09-16 00:08 YogyKwan 阅读(160) 评论(0) 推荐(0) 编辑
摘要: Dragon BallsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 232 Accepted Submission(s): 126Problem DescriptionFive hundred years later, the number of dragon balls will increase unexpectedly, so it\\\\\\\'s too difficult for Monkey King(WuKong) 阅读全文
posted @ 2012-09-05 19:45 YogyKwan 阅读(185) 评论(0) 推荐(1) 编辑
摘要: A Bug's LifeTime Limit: 15000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 353 Accepted Submission(s): 133Problem DescriptionBackground Professor Hopper is researching the sexual behavior of a rare species of bugs. He assumes that they feature two different 阅读全文
posted @ 2012-09-05 19:38 YogyKwan 阅读(967) 评论(0) 推荐(1) 编辑
摘要: Farm IrrigationTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 79 Accepted Submission(s): 46Problem DescriptionBenny has a spacious farm land to irrigate. The farm land is a rectangle, and is divided into a lot of samll squares. Water pipes are p. 阅读全文
posted @ 2012-09-05 19:29 YogyKwan 阅读(226) 评论(0) 推荐(1) 编辑
摘要: Is It A Tree?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 353 Accepted Submission(s): 140Problem Description A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directe. 阅读全文
posted @ 2012-09-05 19:23 YogyKwan 阅读(179) 评论(0) 推荐(1) 编辑
摘要: find the most comfortable roadTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 88 Accepted Submission(s): 45Problem DescriptionXX星有许多城市,城市之间通过一种奇怪的高速公路SARS(Super Air Roam Structure---超级空中漫游结构)进行交流,每条SARS都对行驶在上面的Flycar限制了固定的Speed,同时XX星人对 Flycar的“舒适. 阅读全文
posted @ 2012-09-05 19:13 YogyKwan 阅读(264) 评论(0) 推荐(1) 编辑
摘要: 最牛的回文Description据说,如果有无穷多的母牛和无穷多的大型键盘,它们就可以创造出世界上最伟大的回文。在寻找回文时,可以不计文中的标点、空白和大小写,只要关注26个英文字母就可以了。但是要注意,在输出时要按照原样,也就是要保留原有的空白、标点和大小写。你的任务,就是在不超过20000个字符的字符串中,寻找长度不超过2000的回文字符串(含空格和标点时)。Input一段文本,不超过20000个字符,可以有一行或多行,每行的长度不超过80个字符。Output输出的第一行为找到的最长的回文字符串的长度。后面的行应该包括该字符串,字符串两边多余的空格和标点都不需要输出,但字符串中的空格、标点 阅读全文
posted @ 2012-09-04 23:10 YogyKwan 阅读(474) 评论(0) 推荐(1) 编辑
摘要: Rank of TetrisTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 78 Accepted Submission(s): 35Problem Description自从Lele开发了Rating系统,他的Tetris事业更是如虎添翼,不久他遍把这个游戏推向了全球。为了更好的符合那些爱好者的喜好,Lele又想了一个新点子:他将制作一个全球Tetris高手排行榜,定时更新,名堂要比福布斯富豪榜还响。关于如何排名,这个不用说都知道是根据R. 阅读全文
posted @ 2012-09-04 17:34 YogyKwan 阅读(307) 评论(0) 推荐(1) 编辑
摘要: 4.1.1Can you solve this equation?57.63%(238,413)4.1.2Strange fuction86.72%(235,271)4.1.3Pie44.73%(140,313)4.1.4Cup33.56%(145,432)4.1.5find the nth digit38.06%(137,360)4.1.6Turn the corner41.96%(141,336)4.1.7Dome of Circus49.12%(139,283)4.1.8猜数字82.25%(139,169)4.1 二分三分在函数或计算机几何中的应用4.2.1连连看48.65%(54,11 阅读全文
posted @ 2012-09-01 03:01 YogyKwan 阅读(173) 评论(0) 推荐(1) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页