2012年10月8日
摘要: 好久没写题了CODE:#include<iostream>#include<cstdio>#include<cstdlib>#include<cstring>usingnamespacestd;constintM=82;intr[M][4];intv[M];intn,tot;intflag;voiddfs(intcur,intans){if(cur==3){tot=max(ans,tot);}for(inti=0;i<n;i++){if(!v[r[i][0]]&&!v[r[i][1]]&&!v[r[i][2] 阅读全文
posted @ 2012-10-08 15:48 有间博客 阅读(146) 评论(0) 推荐(0) 编辑