struct edge { int to, dis, next; }; //用于储存边 //Dijkstra
dis 能理解
但是 to 和 next 表示什么意思?
代码出处:https://www.luogu.com.cn/article/s581e0wm