if (dis[xx][yy]<dis[d[head+1][1]][d[head+1][2]])
{
t1=d[tail][1];
d[tail][1]=d[head+1][1];
d[head+1][1]=t1;
t1=d[tail][2];
d[tail][2]=d[head+1][2];
d[head+1][2]=t1;
}
SPFA,SLF优化
最新推荐文章于 2023-07-02 15:40:43 发布