Well hello guys! Below is the link to my source code for the above problem. http://mirror.codeforces.com/contest/614/submission/15376824 I am getting a WRONG_ANSWER on test case 3 after my submission on CodeForces but when I compiled and executed the testcase on my g++ compiler it gave the right answer.Can anyone please tell me why is this happening?!.Below is a screenshot of the answer that I got for testcase 3 after compiling on g++. (http://mirror.codeforces.com/predownloaded/4d/2c/4d2c56826166cb8597ec2f5249162eb3266b58b4.png)