Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

为什么我过不去啊!

Posted by 1404010917 at 2015-07-02 22:53:49 on Problem 2109
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator