求救!大佬们!全WA!

P3371 【模板】单源最短路径(弱化版)

您这个是什么算法? 没看懂啊
by Rorshach @ 2018-04-11 22:15:55


您一开始把INF别设成INT_MAX试试,很可能是加的时候爆int了
by Jianuo_Zhu @ 2018-04-11 22:49:04


@[432109c](/space/show?uid=51128)
by Jianuo_Zhu @ 2018-04-11 22:49:11


设成1e9左右吧
by Jianuo_Zhu @ 2018-04-11 22:49:43


谢谢各位大佬,已经AC了, 是读入优化出错了。
by ZGS_WZY @ 2018-04-12 18:12:54


|