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

神奇的WA

Posted by wolf_new at 2011-06-03 10:33:45 on Problem 2109
WA:
        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:
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