QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#585865#9316. BoxesXiangMuWA 580ms4332kbC++205.6kb2024-09-23 22:29:152024-09-23 22:29:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 580ms
memory: 4332kb

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:

98419417293
64710836149
-54205675622
-55819380724
-37260707784
106498473014
20779740373
9168868890
2685613468
-23830270264
41974793220
-39156393938
8223711602
-108979464646
-24832326092
-33986162753
-30383864369
-111239499549
10331773917
57967525469
88690377060
-39168601807
-29905843289
10802690843
...

result:

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