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:第一次刷到第一,庆祝下咯。尽量减少取余次数是关键~~

Posted by scau_dove at 2014-08-05 22:54:11 on Problem 3233
In Reply To:Re:第一次刷到第一,庆祝下咯。尽量减少取余次数是关键~~ Posted by:zhangk at 2012-10-15 21:12:03
> 尝试减小取余次数,但时间反而增多。
> 大概取余多未必是坏事,因为取余后数变小了,用比较小的数加减乘除会快一些

如果数不够m大的话 多余的取模是不必要的啊

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