摘要: #include#include#includeusing namespace std;int use[30],a[30],flag,b[30],m,p[20];char s[1024];void dfs(int x){ int i,a1,a2,a3,t,l; if(fl... 阅读全文
posted @ 2015-07-25 16:21 xryz 阅读(145) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;struct data{ int x,y;} a[200],b[200];bool cmp(data n,data m){ if(n.x==m.x) return n.yb[j].x)... 阅读全文
posted @ 2015-07-25 15:16 xryz 阅读(155) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;int mp[30][250][250];int main(){ int n,u,v,i,j,l,k,p,f; char s[1024]; while(~scanf("%d",&... 阅读全文
posted @ 2015-07-25 14:25 xryz 阅读(132) 评论(0) 推荐(0) 编辑