| ||||||||||
| 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 | |||||||||
求1091跳蚤的解题思路。我的想法是求出M的质因数ki,然后用pow(M,n)-Sum(pow(M/ki,n))。如果这种想法是对的,那么如何解决tle的问题。如果想法是错误的,该采用什么方法?谢谢。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator