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 |
说好的大数据呢?这不是坑爹嘛!#include<iostream> #include <cstdio> #include <cstring> #include <algorithm> #include <cmath> using namespace std; int main() { double n; double p; while(cin>>n>>p) { cout<<pow(p,1/n)<<endl; } return 0; } 其实n多早就可以写了,就是被大数据给唬住了,靠! Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator