QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#603619#5145. Shortest PathZhaoZiLongWA 2ms5972kbC++236.1kb2024-10-01 17:50:532024-10-01 17:50:54

詳細信息

Test #1:

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

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: 2ms
memory: 5904kb

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:

191476144
406722222
0
0
58483482
115858544
177378789
656019644
858116189
0
38761681
633010531
0
696693108
919354167
122684249
865793975
91541737
248635086
0
374201714
455984810
284991806
322357914
0
514668480
407812368
203422378
0
419773404
459082322
743372489
0
716008724
0
189418326
244106015
19103...

result:

wrong answer 1st numbers differ - expected: '191476186', found: '191476144'