细心自行车

文章
5
资源
0
加入时间
2年10月17天

POJ - 1797 Heavy Transportation (最短路dijkstra)

https://vjudge.net/problem/POJ-1797POJ - 1797 Heavy Transportation 最短路dijstra题目分析AC代码题目BackgroundHugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tells him whether there rea

最大流

#include<iostream>#include<cstdio>#include<cstring>#include<algorithm>#include<queue>#include<vector>#include<math.h>using namespace std;...

MATLAB中常见的程序出错问题整理

Subscript. indices must either be real positive integers or logicals中文解释:下标索引必须是正整数类型或者逻辑类型出错原因:在访问矩阵(包括向量、二维矩阵、多维数组,下同)的过程中,下标索引要么从 0 开始,要么出现了负数。注:解决办法:自己调试一下程序,把下标为 0 或者负数的地方修正。举例:【错误代码】:...