QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#121144#6117. Determine The Fluctuation BonusHuangHanShengWA 87ms59376kbC++204.5kb2023-07-07 17:04:472023-07-07 17:04:48

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 5416kb

input:

3 7
2 -1
1 4
2 5
3 6
1 -7
3 -6
2 9

output:

2
6
5

result:

ok 3 number(s): "2 6 5"

Test #2:

score: 0
Accepted
time: 0ms
memory: 7500kb

input:

9 5
2 10
2 -20
2 20
2 -20
2 20

output:

5
32
5
5
5
5
5
5
5

result:

ok 9 numbers

Test #3:

score: 0
Accepted
time: 2ms
memory: 9556kb

input:

5 10
1 0
3 0
2 0
5 0
4 0
1 0
3 0
2 0
5 0
4 0

output:

0
0
0
0
0

result:

ok 5 number(s): "0 0 0 0 0"

Test #4:

score: 0
Accepted
time: 1ms
memory: 9472kb

input:

1 1
1 0

output:

0

result:

ok 1 number(s): "0"

Test #5:

score: 0
Accepted
time: 1ms
memory: 5388kb

input:

1 1
1 -1000000000

output:

0

result:

ok 1 number(s): "0"

Test #6:

score: 0
Accepted
time: 1ms
memory: 5632kb

input:

1 1
1 1000000000

output:

0

result:

ok 1 number(s): "0"

Test #7:

score: -100
Wrong Answer
time: 87ms
memory: 59376kb

input:

34 99924
5 384094577
32 -796292690
21 -811649302
16 962640530
11 -949299967
26 946724925
32 -871556791
13 -597225272
5 -462265209
17 -360565332
30 973334595
26 65508285
25 -313976558
11 -305308663
4 44272276
3 505903660
19 -828537724
7 -809263187
5 -127755414
19 168244448
13 451711380
17 706137232
2...

output:

955
1368
1325
628
1228
944
1260
1252
1212
314
880
1026
1438
886
1303
750
1209
1290
440
1062
1512
769
926
446
998
915
676
1137
551
1205
978
960
1369
1357

result:

wrong answer 1st numbers differ - expected: '1710', found: '955'