Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:哪位仁兄指点指点wa了好久了 , 都检查不出来!!!!!!!!!!In Reply To:Re:哪位仁兄指点指点wa了好久了 , 都检查不出来!!!!!!!!!! Posted by:Euler_M at 2011-04-01 21:02:08 > int findset(int x) > { > if(x!=father[x]) > { > int temp=father[x];//这里!!!,去画画他们关系是怎么改变的图吧 > father[x]=findset(father[x]); > kind[x]=(kind[x]+kind[temp])%2; > > } > > return father[x]; > > } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator