上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: D. The Child and Sequencetime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAt the children's day, ... 阅读全文
posted @ 2014-10-06 20:20 天I火 阅读(122) 评论(0) 推荐(0) 编辑
摘要: Mad scientist Mike has constructed a rooted tree, which consists ofn vertices. Each vertex is a reservoir which can be either empty or filled with wat... 阅读全文
posted @ 2014-10-05 14:38 天I火 阅读(131) 评论(0) 推荐(0) 编辑
摘要: #include #include#include#include#includeusing namespace std; int g[505][505]; int dx[505],dy[505];bool vx[505], vy[505];int dis[505]; int n, x, y;... 阅读全文
posted @ 2014-10-04 11:36 天I火 阅读(107) 评论(0) 推荐(0) 编辑
摘要: #include #include#include#includeconst int maxn = 301;const int INF = (1 t) slack[y] = t; } return false; }int KM() ... 阅读全文
posted @ 2014-10-01 21:46 天I火 阅读(163) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std;bool map[505][505];int n, k;bool vis[505];int linker[505];void sscanf(){ int x, y; scanf("%d%d",&n,&k); for(int i=... 阅读全文
posted @ 2014-10-01 19:57 天I火 阅读(136) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; #define DIGIT 4 //四位隔开,即万进制 #define DEPTH 10000 //万进制 #define MAX 2251... 阅读全文
posted @ 2014-10-01 15:06 天I火 阅读(105) 评论(0) 推荐(0) 编辑
摘要: Beautiful PeopleTime Limit:10000/5000MS (Java/Others)Memory Limit:128000/64000KB (Java/Others) Special JudgeSubmitStatusProblem Description The most... 阅读全文
posted @ 2014-10-01 14:33 天I火 阅读(107) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; const int INF = 0x3fffffff; int g[1005][1005]; int p... 阅读全文
posted @ 2014-09-02 15:42 天I火 阅读(113) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std; const int INF = 0x3fffffff; int g[1005][1005]; bool vis[1005]; ... 阅读全文
posted @ 2014-09-02 10:47 天I火 阅读(98) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #includeusing namespace std;const int INF = 0x3fffffff;int g[1005][1005];bool vis[1005];int m;int Ford(int s,int t,int f){... 阅读全文
posted @ 2014-09-02 01:50 天I火 阅读(127) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页