把题解判无解的那段
if(tmp_val>=1e8){//一共还没有K条边时就没有边可以连了 cout<<"can not fix it."; return 0; }
中的 1e81e81e8 改成 1e91e91e9 (INF 也进行了更改),第三个数据点就输出有解了