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 |
呃...没看懂...我想想In Reply To:每次把a1和e[a2]合并,a2和e[a1]合并就行了 Posted by:TN at 2005-03-06 12:47:19 我是构造一棵树,利用树中节点的深度奇偶性来区分是否同gang,貌似和你的程序效率差不多(难道...我们指的就是同一个东东?-_-b不要笑...偶不懂) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator