摘要: 判断负环模板 Bellman_ford \(\mathcal{O}(nm)\) struct Bellman_ford { using i64 = long long; using PII = pair<i64, i64>; int n; vector<i64> dis; vector<array< 阅读全文
posted @ 2024-04-28 00:51 Ke_scholar 阅读(3) 评论(0) 推荐(0) 编辑