| ||||||||||
| 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 | |||||||||
神奇的WAWA:
while(cin)
{
cin>>n>>p;
cout<<(int)(pow(p,1.0/n)+0.5)<<endl;
}
while(cin>n>>p)
{
cout<<(int)(pow(p,1.0/n)+0.5)<<endl;
}
这是什么情况?神。。。。
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator