摘要:
http://acm.sdut.edu.cn:8080/vjudge/contest/view.action?cid=187#problem/C#include #include #include #include using namespace std;char s[300];int main()... 阅读全文
摘要:
// B - 畅通工程续 dijkstra算法#include #include #include #define INF 1dis[pos] + map[pos][j]) { dis[j] = dis[pos] + map[pos][j]; ... 阅读全文
摘要:
http://acm.sdut.edu.cn:8080/vjudge/contest/view.action?cid=76#problem/B// B - 畅通工程续 dijkstra算法#include #include #include #define INF 1dis[pos] + map[... 阅读全文
摘要:
http://acm.sdut.edu.cn:8080/vjudge/contest/view.action?cid=76#problem/B#include #include #include #define INF 1map[i][k] + map[k][j]) {... 阅读全文
摘要:
http://acm.sdut.edu.cn:8080/vjudge/contest/view.action?cid=76#problem/A#include #include #include #define INF 1dis[pos] + map[pos][j]) { ... 阅读全文
摘要:
http://acm.sdut.edu.cn:8080/vjudge/contest/view.action?cid=76#problem/A#include #include #include #define INF 1dis[pos] + map[pos][j]) { ... 阅读全文
摘要:
#include #include int f[1001][1001];int c[1001];int w[1001];int N,V;int main(){ int t; int i,j; scanf("%d",&t); while(t--) { mem... 阅读全文