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:请问0秒是怎么做的...ORZ

Posted by flyxian at 2007-05-16 22:32:10 on Problem 1207
In Reply To:请问0秒是怎么做的...ORZ Posted by:ziliang at 2006-12-24 14:01:30
简单所,你不要把计算的那个循环单独做成一个函数,直接把循环放在主函数体里面,如果你的算法每问题的话就是0MS。

单独写的函数调用的时候,参数压栈,再call。时间就这么浪费了咯

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