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 |
为什么我过不去啊!In Reply To:100题 发题解留念 Posted by:xindubawukong at 2014-09-16 23:39:48 #include<stdio.h> #include<math.h> int main(){ double n,k,p; while(scanf("%lf%lf",&n,&p)!=EOF){ k=exp(log(p)/n); printf("%.0lf\n",k); } return 0; } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator