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

求幂模时数据过大就拆开来算就不越界了

Posted by acmost at 2009-04-13 09:06:45 on Problem 3696 and last updated at 2009-04-13 09:07:14
比如b=10^6*(b/10^6)+b%10^6

想了好久才想到的,开始还打算上高精度呢

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