Hi!
I'm trying to submit for the first time in the system. I'm confident my solution is correct since it already got accepted in a local contest.
I'm already using the recommended readLn function and have no public classes or methods (except main).
I get a Runtime error. What should I be hunting for? Different input? Can my solution be wrong? Any other formatting restrictions?
It's volume VIII problem 869 - Airline Comparison.
Thanks in advance
Submiting java code
Moderator: Board moderators
Re: Submiting java code
You don't need the recommended readLn method. Java uspport at this judge has been upgraded and it now fully supports jdk1.6. So, you can simply use Scanner and/or BufferedReader. Make sure that the class with the main method is named Main.