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:太诡异了,先是10进制,TLE;然后10000进制,WA;最后1000进制,AC了……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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator