ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1330. Intervals

why crash#2?
Posted by Iliya (Java) 12 Oct 2008 18:18
[code deleted]

Edited by moderator 01.12.2019 21:49
Re: why crash#2?
Posted by [SPbSU ITMO] WiNGeR 12 Oct 2008 20:18
Don't use new Integer(), use Integer.parseInt() instead
Re: why crash#2?
Posted by Iliya (Java) 12 Oct 2008 21:13
Thank you. I solved my problem, but diffrent way. I used :
in.readLine().trim()
instead of
in.readLine()

Edited by author 12.10.2008 21:20