http://ide.codingblocks.com/#/s/17428
The code is giving the right answer on my system. But the online judge shows wrong answer.
http://ide.codingblocks.com/#/s/17428
The code is giving the right answer on my system. But the online judge shows wrong answer.
Take long long int everywhere.