会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
triggerz01
博客园
首页
新随笔
联系
订阅
管理
2025年9月10日
SPFA求负环
摘要: SPFA看入队次数,入队次数>n则说明一定有负环 #include<bits/stdc++.h> using namespace std; const int maxn=2005; const int maxm=20005; const long long inf=2147483647; int n
阅读全文
posted @ 2025-09-10 15:48 曾翎一
阅读(8)
评论(0)
推荐(0)
公告