Description
Input
Output
Sample Input
4 4
1 2 3 4
Sample Output
4
HINT
Source
NCPC 2014
#include
#include
#include
using namespace...
分类:
编程语言 时间:
2015-04-26 19:48:33
阅读次数:
273
Labeling Balls
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 11469
Accepted: 3295
Description
Windy has N balls of distinct weights from 1 unit to N un...
分类:
编程语言 时间:
2015-04-24 19:15:12
阅读次数:
176
Cow Contest
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 7567
Accepted: 4206
Description
N (1 ≤ N ≤ 100) cows, conveniently numbered 1..N, are participa...
分类:
编程语言 时间:
2015-04-23 00:10:15
阅读次数:
250
Genealogical tree
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 3332
Accepted: 2233
Special Judge
Description
The system of Martians' blood relations i...
分类:
编程语言 时间:
2015-04-22 18:31:09
阅读次数:
275
Sorting It All Out
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 29182
Accepted: 10109
Description
An ascending sorted sequence of distinct values is one...
分类:
编程语言 时间:
2015-04-22 15:19:59
阅读次数:
174
Reward
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 4638 Accepted Submission(s): 1416
Problem Description
Dandelion's uncle is a ...
分类:
编程语言 时间:
2015-04-21 22:41:03
阅读次数:
172
Legal or Not
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 5152 Accepted Submission(s): 2360
Problem Description
ACM-DIY is a larg...
分类:
编程语言 时间:
2015-04-21 22:38:27
阅读次数:
183
确定比赛名次
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 14558 Accepted Submission(s): 5814
Problem Description
有N个比赛队(1
Input...
分类:
编程语言 时间:
2015-04-21 20:51:45
阅读次数:
157
产生冠军
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 10374 Accepted Submission(s): 4857
Problem Description
有一群人,打乒乓球比赛,两两捉对撕杀,每两个人之...
分类:
编程语言 时间:
2015-04-21 20:48:20
阅读次数:
181