QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#585836#9316. BoxesXiangMuWA 608ms3932kbC++205.6kb2024-09-23 22:19:372024-09-23 22:19:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

2
4
0 0 1
0 0 2
0 1 1
1 1 1
10
2 6 3
2 9 0
2 1 0
3 7 3
0 5 6
10 9 2
4 4 2
8 5 2
4 6 9
6 7 5

output:

1
943

result:

ok 2 lines

Test #2:

score: -100
Wrong Answer
time: 608ms
memory: 3932kb

input:

30
100
214848 13593 883915
404922 704679 762266
19696 348707 172137
204169 674312 980107
159743 683657 537795
913278 244484 331997
342255 150373 745862
822992 993127 812010
78019 523301 874868
508779 130959 577626
506563 15210 31018
302821 671498 135922
379735 258803 474373
387144 676958 499943
9009...

output:

70913703488
125302740915
137742012987
-41701702513
50649242228
18670852892
-125674156404
-42670616229
-11619221273
-25398886185
23711942646
-76612009648
-85133442123
-42943448587
-79654110891
2786240283
47221792623
-13570437438
19120297002
-73744526558
54160163384
67866739989
-14501996261
2738614077...

result:

wrong answer 1st lines differ - expected: '8466306477510658674', found: '70913703488'