上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 33 下一页
摘要: Surround the TreesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6728Accepted Submission(s): 2556Problem DescriptionThere are a lot of trees in an area. A peasant wants to buy a rope to surround all these trees. So at first he must know the minima 阅读全文
posted @ 2014-03-02 20:43 芷水 阅读(315) 评论(0) 推荐(0) 编辑
摘要: The order of a TreeTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 917Accepted Submission(s): 496Problem DescriptionAs we know,the shape of a binary search tree is greatly related to the order of keys we insert. To be precisely:1.insert a key k to 阅读全文
posted @ 2014-03-01 10:38 芷水 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 二叉搜索树Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2549Accepted Submission(s): 1109Problem Description判断两序列是否为同一二叉搜索树序列Input开始一个数n,(1 10 #include 11 #include 12 #include 13 using namespace std; 14 15 struct node 16 { 17 int rp; 18 struct... 阅读全文
posted @ 2014-02-28 16:55 芷水 阅读(175) 评论(0) 推荐(0) 编辑
摘要: What Are You Talking AboutTime Limit: 10000/5000 MS (Java/Others)Memory Limit: 102400/204800 K (Java/Others)Total Submission(s): 11730Accepted Submission(s): 3763Problem DescriptionIgnatius is so lucky that he met a Martian yesterday. But he didn't know the language the Martians use. The Martian 阅读全文
posted @ 2014-02-26 20:00 芷水 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 统计难题Time Limit: 4000/2000 MS (Java/Others)Memory Limit: 131070/65535 K (Java/Others)Total Submission(s): 15526Accepted Submission(s): 6643Problem DescriptionIgnatius最近遇到一个难题,老师交给他很多单词(只有小写字母组成,不会有重复的单词出现),现在老师要他统计出以某个字符串为前缀的单词数量(单词本身也是自己的前缀).Input输入数据的第一部分是一张单词表,每行一个单词,单词的长度不超过10,它们代表的是老师交给Ignatius统 阅读全文
posted @ 2014-02-25 22:48 芷水 阅读(218) 评论(0) 推荐(0) 编辑
摘要: DryingTime Limit:2000MSMemory Limit:65536KTotal Submissions:7684Accepted:1967DescriptionIt is very hard to wash and especially to dry clothes in winter. But Jane is a very smart girl. She is not afraid of this boring process. Jane has decided to use a radiator to make drying faster. But the radiator 阅读全文
posted @ 2014-02-25 19:05 芷水 阅读(218) 评论(0) 推荐(0) 编辑
摘要: SquaresTime Limit:3500MSMemory Limit:65536KTotal Submissions:15137Accepted:5749DescriptionA square is a 4-sided polygon whose sides have equal length and adjacent sides form 90-degree angles. It is also a polygon such that rotating about its centre by 90 degrees gives the same polygon. It is not the 阅读全文
posted @ 2014-02-24 12:06 芷水 阅读(203) 评论(0) 推荐(0) 编辑
摘要: PieTime Limit: 5000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3399Accepted Submission(s): 1320Problem DescriptionMy birthday is coming up and traditionally I'm serving pie. Not just one pie, no, I have a number N of them, of various tastes and of various 阅读全文
posted @ 2014-02-23 22:45 芷水 阅读(213) 评论(0) 推荐(0) 编辑
摘要: The Frog's GamesTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 3050Accepted Submission(s): 1505Problem DescriptionThe annual Games in frogs' kingdom started again. The most famous game is the Ironfrog Triathlon. One test in the Ironfrog Tr 阅读全文
posted @ 2014-02-23 19:42 芷水 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Distributing Ballot BoxesTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 756Accepted Submission(s): 372Problem DescriptionToday, besides SWERC'11, another important event is taking place in Spain which rivals it in importance: General Electio 阅读全文
posted @ 2014-02-23 10:28 芷水 阅读(431) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 33 下一页