QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#515998#6404. Shuttle TourGuanYunchangWA 134ms648940kbC++175.6kb2024-08-12 13:01:222024-08-12 13:01:22

详细

Test #1:

score: 100
Accepted
time: 35ms
memory: 648940kb

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: 134ms
memory: 648936kb

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:

13628357738
-1
19528605534
22601558150
14305133586
19991308580
7193208278
9408556142
14537469930
11357503482
23425912496
2897562228
1931282188
13842677702
5127264838
-1922545100
7288850122
-5464812120
-1
901678826
19822082190
9574959200
14967065576
9286186422
2337976450
1987717616
7916085756
-546481...

result:

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