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:不打表(但保存中间计算结果),不用约瑟夫公式,优化计算过程AC。144K,47MS,700B。C实现。

Posted by hsmwzj at 2011-04-29 16:04:34 on Problem 1012
In Reply To:不打表(但保存中间计算结果),不用约瑟夫公式,优化计算过程AC。144K,47MS,700B。C实现。 Posted by:lachening at 2011-04-19 19:36:27
似乎楼主理解错了,一般都是计算后存表,而不是遍历计算所有可能后再调用结果。
我的是132K,63MS。不知道空间<132K的以及时间更优化的“正常”code是怎么写的,请教 

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