D题
以下数据
6 6
1 2 1
4 2 1
2 6 1
1 3 1
5 3 1
3 6 1
ac代码
https://ac.nowcoder.com/acm/contest/view-submission?submissionId=42693820
运行出来是0
不应该是2吗