//最大值最小
//天数的a[i]值是固定的 不能改变顺序
# include
# include
# include
using namespace std;
int n,m;
int a[100010];
int judge(int x)
{
int ans=1;//分成了几组
int tmp=0;
for(int i=0;i<n;i++)
{
tmp+=a[i];
if...
分类:
其他好文 时间:
2014-07-31 13:33:26
阅读次数:
197
Network
Time Limit: 1000MS Memory Limit: 30000K
Total Submissions: 13456 Accepted: 5209 Special Judge
Description
Andrew is working as system administrator and is planning to establish a ...
分类:
其他好文 时间:
2014-07-31 09:57:06
阅读次数:
285
Rating
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 714 Accepted Submission(s): 452
Special Judge
Problem Description
A little gi...
分类:
其他好文 时间:
2014-07-31 09:54:16
阅读次数:
303
一个字符串的游戏 有一个你不知道的字符串 你开始有7条命 然后你每次猜一个字母 若你猜的字母在原字符串中 原字符串就去掉所有那个字母 否则你失去一条命 如果你在命耗完之前原字符串中所有的字母都被猜出 则你赢 如果你在命耗完了原字符串中还有字母没被猜出 则你输 如果你在命没耗完原字符串中也还有字母没被猜出 视为你放弃
给你另一个字符串作为你猜的顺序 判断你是否能赢:...
分类:
其他好文 时间:
2014-07-30 20:51:25
阅读次数:
235
Pots
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9734
Accepted: 4099
Special Judge
Description
You are given two pots, having the volume of A and B...
分类:
其他好文 时间:
2014-07-30 12:17:03
阅读次数:
297
Genealogical tree
Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 2920 Accepted: 1962 Special Judge
Description
The system of Martians' blood relations is confusing enough. Actually, ...
分类:
其他好文 时间:
2014-07-29 22:10:42
阅读次数:
533
Genealogical tree
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 2858
Accepted: 1924
Special Judge
Description
The system of Martians' blood relations...
分类:
其他好文 时间:
2014-07-29 14:31:30
阅读次数:
141
先上一枚水题,模拟。/*ID:esxgx1LANG:C++PROG:hdu4054*/#include #include #include #include using namespace std;int main(void){ #ifndef ONLINE_JUDGE freopen(...
分类:
其他好文 时间:
2014-07-29 10:56:46
阅读次数:
219
Beautiful People
Time Limit: 5 Seconds
Memory Limit: 32768 KB Special Judge
The most prestigious sports club in one city has exactly N members. Each of its members is strong and bea...
分类:
其他好文 时间:
2014-07-28 00:09:59
阅读次数:
413
Uncle Tom's Inherited Land*
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 1853 Accepted Submission(s): 769
Special Judge
Problem D...
分类:
其他好文 时间:
2014-07-26 17:23:52
阅读次数:
580