摘要: #include#include#includeusing namespace std;struct data{ int x; int a;};data l[1024],r[1024];bool c1(data q,data p){ return q.xp.x;}i... 阅读全文
posted @ 2015-07-22 21:09 xryz 阅读(103) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;string cover[4][4];int main(){ int i,j,k,mp[4][4],use[10],sum,flag,cnt[10],g[10][10]; char s[100]; for(i=... 阅读全文
posted @ 2015-07-22 17:23 xryz 阅读(218) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeusing namespace std;struct d{ int u,v; double w;} e[10000+5];bool cmp(d a,d b){ return a.w=0; s=bin[s... 阅读全文
posted @ 2015-07-22 15:26 xryz 阅读(82) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;vector >v;int n,m,use[30],cnt[30];char ans[30],s[10];int topsort(int x){ int i,j,t[30],f=1,r,c; memset(ans,0... 阅读全文
posted @ 2015-07-22 13:29 xryz 阅读(111) 评论(0) 推荐(0) 编辑
摘要: #include#include#includeusing namespace std;struct arcnode{ int to; struct arcnode *next;};int n,m;arcnode *l[100];int cnt[100];char out... 阅读全文
posted @ 2015-07-22 10:06 xryz 阅读(104) 评论(0) 推荐(0) 编辑