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 zcube at 2011-10-19 16:28:15 on Problem 2635
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:
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