题目链接: http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1797 题目大意: 有N个车站,火车一共可以坐M个人,每个车站下车Ai,上车Bi个人,在车站等待下一班Ci个人。问输入是否合法。 合法:火车上的人不超过M,第一站不能有人下车,最后一站不能 ...
分类:
其他好文 时间:
2016-08-31 20:32:12
阅读次数:
197
Key Set
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)
Total Submission(s): 1886 Accepted Submission(s): 990
Problem Description
soda has a set S ...
分类:
其他好文 时间:
2016-08-23 19:06:59
阅读次数:
360
1551: Longest Increasing Subsequence Again Description Give you a numeric sequence. If you can demolish arbitrary amount of numbers, what is the lengt ...
分类:
其他好文 时间:
2016-08-22 12:18:10
阅读次数:
203
1112: 机器人的指令
Time Limit: 1 Sec Memory Limit:
128 MB
Submit: 1858 Solved: 682
[Submit][Status][Web
Board]
Description
数轴原点有一个机器人。该机器人将执行一系列指令,你的任务是预测所有指令执行完毕之后它的位置。
·LEFT:往左移动一个单位
·RIGHT...
分类:
其他好文 时间:
2016-08-21 22:57:59
阅读次数:
380
1111: 三家人
Time Limit: 1 Sec Memory Limit:
128 MB
Submit: 2241 Solved: 874
[Submit][Status][Web
Board]
Description
有三户人家共拥有一座花园,每户人家的太太均需帮忙整理花园。A 太太工作了5 天,B 太太则工作了4 天,才将花园整理完毕。C 太太因为正身怀六甲无...
分类:
其他好文 时间:
2016-08-21 22:57:23
阅读次数:
339
1555: Inversion Sequence Description For sequence i1, i2, i3, … , iN, we set aj to be the number of members in the sequence which are prior to j and g ...
分类:
其他好文 时间:
2016-08-21 21:23:10
阅读次数:
238
1552: Friends Description On an alien planet, every extraterrestrial is born with a number. If the sum of two numbers is a prime number, then two extr ...
分类:
其他好文 时间:
2016-08-21 18:35:32
阅读次数:
192
1553: Good subsequence Description Give you a sequence of n numbers, and a number k you should find the max length of Good subsequence. Good subsequen ...
分类:
其他好文 时间:
2016-08-21 18:14:40
阅读次数:
136
1556: Jerry's trouble Description Jerry is caught by Tom. He was penned up in one room with a door, which only can be opened by its code. The code is ...
分类:
其他好文 时间:
2016-08-21 16:36:41
阅读次数:
149
1549: Navigition Problem Description Navigation is a field of study that focuses on the process of monitoring and controlling the movement of a craft ...
分类:
其他好文 时间:
2016-08-21 16:33:50
阅读次数:
171