摘要:
本来都快写完了的 后来不小心删掉了 先占个坑 什么时候想写了 再填上吧 阅读全文
posted @ 2014-04-13 19:11
galaxy77
阅读(106)
评论(0)
推荐(0)
摘要:
wa还没找出哪里的错误 先放这里#include#include#include#include#include#include#includeusing namespace std;int n,m;struct node{ int f,k;} p[50002];int find1(int x) //{ if(p[x].f==x) { p[x].k=0; return p[x].f=x; } int fa=find1(p[x].f); p[x].k=(p[x].k+p[p[x].f].k)%3; return p[x].f... 阅读全文
posted @ 2014-04-13 12:45
galaxy77
阅读(137)
评论(0)
推荐(0)
浙公网安备 33010602011771号