today in a problem of div 3 contest, the IDEs which i generally use are printing right(correct) answers but codeforces's IDE printing a different one(wrong answer). pls help code is quite clean,codeforces's custom invocation also printing the wrong answer how it is possible.. code:-> http://codeforces.net/contest/1006/submission/40444220 IDE's which i use generally:-> https://ide.codingblocks.com/#/ , https://www.codechef.com/ide