摘要: SORT AGAIN Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 6278 Accepted Submission(s): 1984 Prob 阅读全文
posted @ 2017-08-10 22:39 #忘乎所以# 阅读(287) 评论(0) 推荐(0)
摘要: Q-Sequence Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/65535 K (Java/Others)Total Submission(s): 672 Accepted Submission(s): 334 Proble 阅读全文
posted @ 2017-08-10 22:32 #忘乎所以# 阅读(163) 评论(0) 推荐(0)
摘要: Cows Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 19673 Accepted: 6699 Description Farmer John's cows have discovered that the clover gr 阅读全文
posted @ 2017-08-08 21:01 #忘乎所以# 阅读(337) 评论(0) 推荐(0)
摘要: 度度熊的午饭时光 Accepts: 823 Submissions: 9241 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) 度度熊的午饭时光 Accepts: 823 Submiss 阅读全文
posted @ 2017-08-07 20:04 #忘乎所以# 阅读(324) 评论(0) 推荐(0)
摘要: 度度熊与邪恶大魔王 Accepts: 3666 Submissions: 22474 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) 度度熊与邪恶大魔王 Accepts: 3666 Su 阅读全文
posted @ 2017-08-07 20:01 #忘乎所以# 阅读(220) 评论(0) 推荐(0)
摘要: D. Palindromic characteristics time limit per test 3 seconds memory limit per test 256 megabytes input standard input output standard output Palindrom 阅读全文
posted @ 2017-08-07 19:55 #忘乎所以# 阅读(204) 评论(0) 推荐(0)
摘要: 卡特兰数非常经典,很多现实的问题都是卡特兰数,如合法的入栈出栈序列有多少种就是卡特兰数,为什么呢?我们可以把0看成入栈操作,1看成出栈操作,即0的累计个数不小于1的排列有多少种。还有很多其他的问题都是卡特兰数,如二叉树的个数,有序树的个数,多边形分成三角形的个数等。 卡特兰数的通项是c(2n, n) 阅读全文
posted @ 2017-08-07 09:07 #忘乎所以# 阅读(582) 评论(0) 推荐(0)
摘要: C. Two Seals time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output One very important person ha 阅读全文
posted @ 2017-08-04 10:22 #忘乎所以# 阅读(288) 评论(0) 推荐(0)
摘要: B. Flag of Berland time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The flag of Berland is 阅读全文
posted @ 2017-08-04 10:18 #忘乎所以# 阅读(448) 评论(0) 推荐(0)
摘要: A. Text Volume time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a text of si 阅读全文
posted @ 2017-08-04 10:14 #忘乎所以# 阅读(357) 评论(0) 推荐(0)