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:太诡异了,先是10进制,TLE;然后10000进制,WA;最后1000进制,AC了…… Posted by:KingOfRome at 2008-04-28 14:50:53 汗,求余时候相乘会超int 稍微改下就好了 ans = (1ll*ans*10000+num[i]) % mod; 10000 进制垃圾过 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator