QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#153021#6702. Stones in the BucketMaMengQiWA 61ms3936kbC++20451b2023-08-29 09:00:342023-08-29 09:00:35

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3816kb

input:

4
3
1 1 0
4
2 2 2 2
3
0 1 4
1
1000000000

output:

2
0
3
0

result:

ok 4 number(s): "2 0 3 0"

Test #2:

score: -100
Wrong Answer
time: 61ms
memory: 3936kb

input:

1117
33
941569937 726092914 727010359 7765372 85147698 226034704 430957397 690012188 507130442 797501882 635162155 159230168 519209938 874599298 394229092 840562882 790604785 404365317 201055932 846306030 538284769 767560597 989100484 910102919 156114543 743142429 790221319 144002373 730823403 97104...

output:

47971973
-18
0
10366388
-94
-25
61
-15
-63
15497822
54
-16
7
7
-46
224339683
20
14
14785942
-42
53312430
-7
47
-34
-29
-41
-1
4
-14
1699483
27240924
21353328
40203369
-62
86
-36
-22
0
-22
-50
-21
224497475
-69
38294690
5993981
16926464
0
-40
61
13051350
-16
0
3505886
-13
0
53165616
61
473558527
-1
-...

result:

wrong answer 1st numbers differ - expected: '4211193781', found: '47971973'