QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#262489#6404. Shuttle TourHuangHanShengWA 99ms125772kbC++172.7kb2023-11-23 19:52:132023-11-23 19:52:14

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

5 6
10110
1 2 1
1 3 10
2 4 100
3 5 1000
2 1 5
1 3
2 1 5
2 2 4
2 5 5
2 1 1

output:

222
202
0
-1
0

result:

ok 5 number(s): "222 202 0 -1 0"

Test #2:

score: -100
Wrong Answer
time: 99ms
memory: 125772kb

input:

50 200000
00100100100001101010110100000111100011101110011010
14 47 940241413
11 43 331483591
37 38 496247070
47 46 832459694
7 15 16479291
1 30 402388666
30 8 513064064
46 50 739311480
5 4 761894947
32 41 631669659
17 24 715786564
35 20 763151642
32 33 492466005
39 11 186023146
9 7 805081251
3 42 25...

output:

804777288
-1
10200727364
3996133614
804777288
10200727364
-1
2623027942
-1
2623027942
-1
1995545804
-1
11113756204
4618573782
130623246
-1
0
-1
742545116
-1
13613431098
11850521178
13357701932
1610162466
-1
13150534326
0
10237550818
0
7418845776
-1
15136819316
9088694190
6038208396
5742875100
318049...

result:

wrong answer 1st numbers differ - expected: '17149847378', found: '804777288'