This is the problem : https://codeforces.com/contest/253/problem/A And this is my submission code for the problem: https://codeforces.com/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!