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:太诡异了,先是10进制,TLE;然后10000进制,WA;最后1000进制,AC了……

Posted by KosonLau at 2008-11-28 20:50:48 on Problem 2635
In Reply To:Re:太诡异了,先是10进制,TLE;然后10000进制,WA;最后1000进制,AC了…… Posted by:trytryagain at 2008-07-30 21:05:15
> 那是因为算除法的时候余数超过整数范围了!
嗯,L最大可能达到100 0000,如果用10000进制,做除法时,余数可能超过范围,例如 25 0000 0000 ,使用1000进制 余数最多为九位 如,100 000 000 

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