Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:不打表(但保存中间计算结果),不用约瑟夫公式,优化计算过程AC。144K,47MS,700B。C实现。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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator