查看原帖
87434
_Life_楼主2022/2/13 13:04

https://www.luogu.com.cn/blog/RPdreamer/p2446

input:
4 4
1 2 1
2 3 1
1 4 1
4 3 2
0
0
1 4
0
output:
1

该篇题解输出为 2

2022/2/13 13:04
加载中...