QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#47603#4649. ApplesHuangHanShengWA 1762ms34852kbC++141.5kb2022-09-10 14:59:122022-09-10 14:59:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1762ms
memory: 34852kb

input:

100
4
4 1 4
5 1 4
1 9 1
9 8 1
0
2
1 2 1
2 1 2
3
1 3
1 2
2 1
5
9 19 8
37 9 4
19 30 6
0 37 1
30 0 0
10
4 1
4 1
3 4
2 6
5 10
4 4
2 10
5 9
1 0
3 6
5
7 49 6
9 7 1
49 9 0
24 24 6
4 4 2
10
1 8
4 10
1 3
5 0
2 5
3 3
2 4
1 6
2 3
5 4
5
1 1 3
3 47 2
47 41 9
37 3 3
41 37 10
10
3 4
1 9
4 10
1 7
4 1
4 3
3 5
2 8
4 ...

output:

23
1
2
2
1
217
217
217
200
239
246
336
444
444
364
364
292
336
376
250
250
410
410
530
530
530
610
438
252
252
280
280
272
272
120
384
376
400
1332
1274
1239
1209
1272
1277
1217
1102
952
878
352
174
691063470909
276752159937
761584545117
809956321521
721611614616
721611614616
18793628
18791624
18792...

result:

wrong answer 13th lines differ - expected: '408', found: '444'