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 wy_neu at 2010-04-30 18:45:19 on Problem 1042 and last updated at 2010-04-30 18:47:00
In Reply To:为什么会TLE?想不通啊!!!!!!!!!!!!!!!!!!!!!!!!!!! Posted by:my_echo at 2009-11-30 20:07:46
如果循环是这么写的
for(i=hour;i!=0;i-=5)..
改成这个
for(i=hour;i>0;i-=5)..

刚才就因为这个超时..

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