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:用逆元wa到不行 很想知道这道题有没有人用逆元过的啊~In Reply To:用逆元wa到不行 很想知道这道题有没有人用逆元过的啊~ Posted by:alpc56 at 2009-09-10 18:28:49 逆元 不知道是不是这种:x^0+x^1+x^2+x^3..x^n=(x^(n+1)-1)/(x-1) 如果是的话,肯定错,因为,我们求x^(n+1)时候mod了9901,造成(x-1)>(x^(n+1)-1) Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator