摘要: 求最长路,可以用spfa做, 数组要开到1e6,否则会超时 #include <iostream> #include <queue> #include <cstring> using namespace std; const int N = 1e6 + 10; const int INF = 0x3 阅读全文
posted @ 2022-05-03 19:14 Flying_bullet 阅读(37) 评论(0) 推荐(0)