### danilka.pro's blog

By danilka.pro, 4 years ago, ,

Hello, Codeforces!

Some minutes ago I got accepted with problem on SPOJ resource. But a hour ago my correct solution was getting Runtime Error (Non-Zero Exit Code) because of in.close() in following code:

in = new BufferedReader(new InputStreamReader(System.in));
...
in.close();


Removing that line brings me accepted. Could anyone explain that?

•
• +8
•

 » 4 years ago, # |   +3 I think this is problem from SPOJ side. This happened once in codechef too but later the problem was solved from codechef side. One user also asked the question on stackoverflow too. StackOverflow