PAIRSUM: input reading problem (Java)

Hello coders,

I’m trying to solve Sum of pairs problem. Actually I’m NOT looking for help about the algorithm, I have problem reading the input and I have no idea why :-/

This subission is getting NZEC, AFAIK it means that there is some Exception. But according to try catch it has to be IllegalStateException. But if so, it means there are not N integer. Some hint what am I doing wrong?

hey did you got any solution?
I’m getting NZEC every time and no help at all
When I catch the exceptions it says Wrong Answer…but everything works fine on local machine

No, I didn’t solve it yet :frowning:

Do not quite understand, but that code is for websites? if so searching I found this that can help Troubleshoot java entries

//