摘要: #include#include#include#include#include#includeusing namespace std;int read(char *s){ int len; for(len=0;(s[len]=getchar())!='\n'&&s[le... 阅读全文
posted @ 2015-08-03 15:44 xryz 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 我的新博客:http://xiang578.top/#include#include#include#include#include#includeusing namespace std;int mp[50][50],in[50],out[50],vis[50],use[50];st... 阅读全文
posted @ 2015-08-03 14:59 xryz 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std;int n,m,g[1024][1024],vis[1024][1024],use[1024],in[1024];bool f;void dfs(int u){ if(use... 阅读全文
posted @ 2015-08-03 12:21 xryz 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std;int n,dp[6000+5][2],bin[6000+5];vectord[6000+5];void tree_dp(int x){ int i,len=d[x].siz... 阅读全文
posted @ 2015-08-03 09:52 xryz 阅读(91) 评论(0) 推荐(0) 编辑