摘要: 懒省事的小明时间限制:3000 ms | 内存限制:65535 KB 难度:3描述 小明很想吃果子,正好果园果子熟了。在果园里,小明已经将所有的果子打了下来,而且按果子的不同种类分成了不同的堆。小明决定把所有的果子合成一堆。 因为小明比较懒,为了省力气,小明开始想点子了: 每一次合并,小明可以把两... 阅读全文
posted @ 2015-07-28 11:02 Eric_keke 阅读(381) 评论(0) 推荐(0) 编辑
摘要: ACboy needs your help again!Time Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4429Accepted Submissio... 阅读全文
posted @ 2015-07-28 09:13 Eric_keke 阅读(478) 评论(0) 推荐(0) 编辑
摘要: Change the ballTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 581Accepted Submission(s): 201Probl... 阅读全文
posted @ 2015-07-27 16:17 Eric_keke 阅读(194) 评论(0) 推荐(0) 编辑
摘要: Train Problem ITime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 25817Accepted Submission(s): 9752Pr... 阅读全文
posted @ 2015-07-27 14:49 Eric_keke 阅读(237) 评论(0) 推荐(0) 编辑
摘要: DNA SortingTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2203Accepted Submission(s): 1075Problem... 阅读全文
posted @ 2015-07-27 11:05 Eric_keke 阅读(767) 评论(0) 推荐(0) 编辑
摘要: 括号配对问题时间限制:3000 ms | 内存限制:65535 KB 难度:3描述现在,有一行括号序列,请你检查这行括号是否配对。输入第一行输入一个数N(0 2 #include 3 char stack[10001],a[100001];//以后数组尽量定义到函数外 4 int main() 5 ... 阅读全文
posted @ 2015-07-27 09:59 Eric_keke 阅读(156) 评论(0) 推荐(0) 编辑
摘要: Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2237Accepted Submission(s): 859Problem Description... 阅读全文
posted @ 2015-07-27 00:28 Eric_keke 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Light BulbTime Limit: 1 Second Memory Limit: 32768 KBCompared to wildleopard's wealthiness, his brother mildleopard is rather poor. His house is narr... 阅读全文
posted @ 2015-07-26 22:34 Eric_keke 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 二分法逼近求值大家应该明白,但是它只能解决单调函数问题;如果是凹函数或者凸函数怎么办呢?别急,还有三分法!凸(凹)函数在高数中的定义是:若函数的二阶导数在区间上恒大于0,则该函数在区间为凸函数;反之,小于0为凹函数。有点不好记,我自己是这样记得:凹函数谁大不用谁,凸函数说小不用谁!仅供参考,自己体会... 阅读全文
posted @ 2015-07-26 10:28 Eric_keke 阅读(192) 评论(0) 推荐(0) 编辑
摘要: Strange fuctionTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 4538Accepted Submission(s): 3261Pro... 阅读全文
posted @ 2015-07-26 10:08 Eric_keke 阅读(1150) 评论(0) 推荐(0) 编辑