登录社区云,与社区用户共同成长
邀请您加入社区
该用户还未填写简介
暂无可提供的服务
nginx嵌入式板卡移植
最短路径:1,贝尔曼·富德-bellman·ford:单元最短路,暴力遍历每条边去更新答案。不能有负环根据s已知的答案去更新e的答案:s-v->e: ans[e] = min(ans[e],ans[s]+v)复杂度O(nxm)n:节点数m:边数#include <iostream>#include <cstring>#include <cstdio>usi