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:用逆元要特判prime[i]-1 %mod==0, 用变换取模要注意中间结果会爆int64,用二分法没以上问题

Posted by pipilupe at 2017-08-03 15:38:28 on Problem 1845
In Reply To:用逆元要特判prime[i]-1 %mod==0, 用变换取模要注意中间结果会爆int64,用二分法没以上问题 Posted by:liuyuhong at 2016-02-19 22:57:45
后半句不理解, mod不需要变呀。 我WA的时候看了这句话特别困惑。

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