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 |
呃……这个题,大家是怎么求(1+p+p^2+...+p^q)%9901的?我最弱智的找循环节……因为不知道(p^(m+1)-1)/(p-1)模的时候分母怎么搞:( Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator