| ||||||||||
| 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 | |||||||||
Run Time error...Hi, can someone help me? I am doing this problem and man..i looks so simple, and i made it in java and it works the way it should but i do not know why it appears Run Time Error, can some one help...
here is te code:
public static void main(String args[]) throws IOException
{
double A,B;
A=Double.parseDouble(stdIn.readLine());
B=Double.parseDouble(stdIn.readLine());
stdOut.println(""+(int)Math.exp((Math.log(B)/A)));
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator