Problem3225--【Div2】csp-j2019P2-公交换乘

3225: 【Div2】csp-j2019P2-公交换乘

[Creator : LongqiangLiu]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description







Sample Input Copy

6
0 10 3
1 5 46
0 12 50
1 3 96
0 5 110
1 6 135

Sample Output Copy

36

Source/Category

Please give us a Star @HUSTOJ Github!

欢迎关注微信公众号onlinejudge