摘要: 链接: 洛谷 题目大意: 判负环。 正文: 如果一个点被访问 \(n\) 次就说明有负环。 代码: const int N = 2e3 + 10, M = 6e3 + 10; inline ll Read() { ll x = 0, f = 1; char c = getchar(); while 阅读全文
posted @ 2021-05-19 20:42 Jayun 阅读(36) 评论(0) 推荐(0) 编辑