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:先 re 在TLE 再超内存 天啊! 大牛们HELLP啊 Posted by:H3100402060 at 2011-02-20 21:30:16 我是找了两个点来当做树根,再对输入的数进行分类分别接在两棵树上 ,判断时再判断两个点是不是在同一棵树上! 就是超内存啊,本人乃并查集新手,大牛们给点点拨 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator