随笔分类 - 最短路
摘要:#include #include #include #include #include #include #include using namespace std; const int maxn=1007; const int INF=0x3f3f3f3f; int maps[maxn][maxn], dist[maxn], vis[maxn]; int path[maxn], pathnu...
阅读全文
摘要:题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5652 Mean: 输入描述 输出描述 Sample Input 1 4 6 011010 000010 100001 001000 7 0 3 1 5 1 3 0 0 1 2 2 4 2 1 Sampl
阅读全文
摘要:http://acm.hdu.edu.cn/showproblem.php?pid=1874
阅读全文
摘要:#include <cstdio> #include <cstring> #include<iostream> #include<queue> #include<stack> #include<cmath> #include <map> #include <algorithm> using name
阅读全文

浙公网安备 33010602011771号