Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:大牛们能不能帮我看看这个程序为什么tle?我怎么算来复杂度都没那么高啊……

Posted by mark1989 at 2010-01-27 17:09:33 on Problem 2458
In Reply To:大牛们能不能帮我看看这个程序为什么tle?我怎么算来复杂度都没那么高啊…… Posted by:wangchen1ren at 2005-06-30 21:35:44
代码20000B,时间0ms的程序可能是先把所有七个点相连的情况打表存入数组,然后直接检验
所有情况。我的代码和你的差不多,都是运行后再搜的,跑了好几百毫秒!

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator