I made a submission 83580212 to the problem 166A - Rank List and got a wrong answer to test case 15
I have encountered such errors while in contest that the code runs in my terminal but not in online judge
I am using the MinG terminal c++-14
Tried googling the problems but couldnot figure out the main issues. Can someone suggest the problem with code and extra flags i should use while compiling to avoid such blunders