- This is the problem : https://codeforces.net/contest/253/problem/A
- And this is my submission code for the problem: https://codeforces.net/contest/253/submission/84249004 Please some one tell why is this happening, it has never happened before and the code is running fine on my laptop in my IDE and even in custom invocation tab of codeforces!
In that contest, it is stated that your program should use files for i/o, not stdin/stdout. So you should probably do that.
I tried uploading the txt file of same code but still got same error
It means you're supposed to read input from a file and write output to a file.
So for example if you look at 80557361, you'll see that they are using FileReader/FileWriter for their i/o. I'm a C++ user so I don't really know Java, but it shouldn't be too hard to use FileReader/FileWriter with FastReader and PrintWriter.