QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#153178#6702. Stones in the BucketZhangYiDeWA 54ms4360kbC++11424b2023-08-29 15:54:452023-08-29 15:54:46

详细

Test #1:

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

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: 54ms
memory: 4360kb

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:

-83773515
-805647908
-279278214
74517121
-433245587
-905222104
689660557
-833519328
-131046331
972119816
229528054
186322930
-1081797672
849909175
1321298987
224339683
-206677939
658241716
-1055561240
707567224
1839870320
-380028445
360135069
-1579659622
863916277
187400093
-302666036
-293671945
205...

result:

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