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:这题思路很清晰的,就是用并查集加路径压缩,但总是超时,经过不断尝试,发现原来是continue的问题,以后一定坚决不用这种跳转语句In Reply To:这题思路很清晰的,就是用并查集加路径压缩,但总是超时,经过不断尝试,发现原来是continue的问题,以后一定坚决不用这种跳转语句 Posted by:einstein17 at 2010-03-15 12:36:28 if(....) continue; 我也用了,果然TLE==! 所以不要用continue这些东西了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator