| ||||||||||
| 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 | |||||||||
题目中可能有对任意k都有k^n != p的数据我是用高精度+二分做的
天真的认为所有的数据都是存在k^n = p的
我都WA了8次。。。。。
对于这种数据,输出max{k | k^n < p}就能AC了
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator