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:18014398509481931是素数还是合数啊

Posted by xiaoyao3857 at 2012-03-25 20:49:38 on Problem 1811
In Reply To:Re:18014398509481931是素数还是合数啊 Posted by:shanhuhai at 2007-11-09 08:13:27
> 是素数,估计你在求a^b%n时数用的数超过了2^64
那么,越界怎么处理呢?不会是说用long long类型吧,那如果用了long long还越界呢?

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