QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#864461#9722. Invaluable AssetsWhiteqwqWA 2ms25256kbC++141.3kb2025-01-20 17:03:522025-01-20 17:03:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 24068kb

input:

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

output:

Case #1:
3
6
12
Case #2:
4
7
15
25
40

result:

ok 10 lines

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 25256kb

input:

10
7 2 7
886853742 719874125 448575857 90400879 284020666 873946432 968796125
166935672
97276878
429715247
507351480
44632788
336984588
642585955
7 2 7
126777308 646807289 547660232 414727661 472932300 247630355 882287974
45902136
177525785
351869697
940694112
35450107
315748319
623010800
6 2 8
3281...

output:

Case #1:
229604379
20627997
1455026847
2097171114
0
898642893
3314281389
Case #2:
0
152245431
987995193
0
0
771266925
3915978432
Case #3:
0
3978516864
1350176583
0
3784753224
115936302
0
0
Case #4:
1207572276
0
0
118812936
0
Case #5:
7277111074
547150356
-2792473334
14883153418
7431863482
2911008536...

result:

wrong answer 13th lines differ - expected: '9738106995', found: '0'