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 |
mod性质In Reply To:一个公式就解决了 Posted by:netbarrr at 2011-05-01 12:04:06 > 将小于m和m互素的数寸到数组prime中,len为prime的长度。直接输出 > ((k-1)/len)*m + prime[(k%len -1+len)%len] Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator