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

Run Time error...

Posted by Todor_GB at 2005-10-29 05:17:02 on Problem 2109
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:
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