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:大牛们能不能帮我看看这个程序为什么tle?我怎么算来复杂度都没那么高啊……In Reply To:大牛们能不能帮我看看这个程序为什么tle?我怎么算来复杂度都没那么高啊…… Posted by:wangchen1ren at 2005-06-30 21:35:44 代码20000B,时间0ms的程序可能是先把所有七个点相连的情况打表存入数组,然后直接检验 所有情况。我的代码和你的差不多,都是运行后再搜的,跑了好几百毫秒! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator