摘要:
#include#include#includeusing namespace std;#define inf 0x7fffffffstruct node{ int u,v,w,f,next;}bian[20000];int dis[6000],pre[6000],head[6000],vis... 阅读全文
摘要:
#include#includeint Max(int a,int b) { return a>b?a:b;}int dp[3][1limit) break; for(k=0;klimit) ... 阅读全文
摘要:
#include#includeint dp[2][202][202];int s[202],c[202],origmap[202];int main() { int i,j,n,m; int ch; while(scanf("%d%d",&n,&m)!=EOF) { ... 阅读全文
摘要:
#include#define inf 0x7fffffffint max(int a,int b) { return a>b?a:b;}typedef struct { int dead,time; char s[200];}H;typedef struct { int ... 阅读全文