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 |
100题 发题解留念是要求满足k^n=p的那个k 其实不用pow也能求 两边取对数得 n*ln(k)=ln(p) ln(k)=ln(p)/n k=exp(ln(p)/n) 用double就可以 log是一个很好用的东西,有的时候取一下对数就简单多了 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator