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:用逆元要特判prime[i]-1 %mod==0, 用变换取模要注意中间结果会爆int64,用二分法没以上问题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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator