QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#584058#5145. Shortest PathaaaaaWA 4ms9708kbC++234.6kb2024-09-23 05:14:352024-09-23 05:14:35

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 7804kb

input:

4
3 2 10
1 2 5
2 3 4
3 0 1000000000
3 3 100
1 2 3
1 3 4
2 3 5
4 6 1000000000
1 2 244
1 2 325
1 4 927
3 3 248
2 4 834
3 4 285

output:

125
0
15300
840659991

result:

ok 4 number(s): "125 0 15300 840659991"

Test #2:

score: -100
Wrong Answer
time: 4ms
memory: 9708kb

input:

400
4 7 850187899
1 2 83
1 2 24
3 1 23
2 3 80
3 3 65
1 2 55
2 4 31
4 7 297586795
3 4 54
1 1 66
2 2 75
1 3 68
1 4 27
1 4 29
2 3 96
5 7 217277444
3 3 9
3 4 36
2 2 77
5 5 38
3 3 6
1 2 18
1 2 23
5 6 379032278
5 5 96
4 3 92
3 2 49
4 3 44
1 4 19
1 1 18
5 6 534284598
5 1 59
1 2 2
3 3 55
2 2 24
5 4 34
2 4 7...

output:

191476186
406722183
0
0
58483482
115858544
177378789
656019644
858116309
0
38761681
633010531
0
696693112
919354187
122684249
865793975
91541737
248634956
0
374201737
455984810
284991806
322357914
0
-636299567
407812429
555256220
0
419773408
989291360
743372489
0
716008724
0
189418326
244106015
4127...

result:

wrong answer 26th numbers differ - expected: '514668426', found: '-636299567'