随笔分类 - ACM-基础
摘要:Interesting drink time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Interesting drink time
阅读全文
摘要:1919: D Description 晴天想把一个包含n个整数的序列a分成连续的若干段,且和最大的一段的值最小,但他有强迫症,分的段数不能超过m段,然后他就不会分了。。。他想问你这个分出来的和最大的一段的和最小值是多少? 晴天想把一个包含n个整数的序列a分成连续的若干段,且和最大的一段的值最小,但
阅读全文
摘要:1912: 小火山的爱情密码 Description 小火山获得了一个字符串,然而大火山让小火山从里面截取一段字符串,并且让小火山截取的字符串满足一些字符达到一定数量。 小火山觉得很容易,但是他想要知道他至少得截取多长的字符串。 小火山获得了一个字符串,然而大火山让小火山从里面截取一段字符串,并且让
阅读全文
摘要:1893: 985的数学难题 Description 985有n个正整数,他想快速知道下面函数的返回值 int a[N+1]; long long Solve() { int i, j; long long ans = 0; for(i = 1; i <= N; i++) { for(int j =
阅读全文
摘要:1895: 985的0-1串难题 Description 985有一个长度为n的0-1串,已知他最多可以修改k次(每次修改一个字符即0->1 或者 1->0),他想知道连续的全1子串最长是多少。 985有一个长度为n的0-1串,已知他最多可以修改k次(每次修改一个字符即0->1 或者 1->0),他
阅读全文
摘要:Mishka and trip time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Little Mishka is a great
阅读全文
摘要:Karate Competition Time Limit: 2000MS Memory Limit: 32768KB 64bit IO Format: %lld & %llu Submit Status uDebug Description Your karate club challenged
阅读全文
摘要:简单计算器 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 18056 Accepted Submission(s): 6353 Problem
阅读全文
摘要:Pie Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Description My birthday is coming up and traditionally I'm serv
阅读全文
摘要:Crossed Ladders Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %lluDescription A narrow street is lined with tall buildings. An x foot
阅读全文
摘要:The Frog's Games Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 6176 Accepted Submission(s): 30
阅读全文
摘要:Can you find it? Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/10000 K (Java/Others) Total Submission(s): 23856 Accepted Submission(s):
阅读全文
摘要:Cable master Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 37400 Accepted: 7940 Description Inhabitants of the Wonderland have decided to
阅读全文
摘要:Can you solve this equation? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 16602 Accepted Subm
阅读全文
摘要:C. Hamburgers time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Polycarpus loves hamburgers
阅读全文
摘要:A. Mafia time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output One day n friends gathered toge
阅读全文
摘要:D2. Magic Powder - 2 time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The term of this pro
阅读全文
摘要:Digital Rivers Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld & %llu Submit Status Description A digital river is a sequence of numbers where
阅读全文
摘要:u Calculate e Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 39017 Accepted Submission(s): 1770
阅读全文
摘要:Binary String Matching 时间限制:3000 ms | 内存限制:65535 KB 难度:3 时间限制:3000 ms | 内存限制:65535 KB 难度:3
阅读全文