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:从3700ms到700ms,仅仅是因为变量定义的位置不同?

Posted by bonism at 2010-03-23 14:59:31 on Problem 1054
In Reply To:从3700ms到700ms,仅仅是因为变量定义的位置不同? Posted by:zhoujay1987 at 2009-04-18 11:13:40
如同前面那位神牛所言.而且您开的是循环变量,本来就经常调用的...放main里面会好一点...
不过我一般喜欢for(int i=0; ; )这样直接定义在for里面

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