Hi,
I am getting a lot of wrong answers for the "acmguru" section. I tried 987654321 problem problem
my code : ideone-link I got the wrong answer here.
I have 2 fold Issue :
I just wanted to know if there is some issue like the "int" holds till certain range that is different from what I get to use in the usual codeforces contest code.{I usually compile n execute my code via : GNU C++11}
In case this is coz of my mis-interpretation (or otherwise also) then please help me in how to meet the code`s requirements like some problems require "0.25 sec" execution time else they give TLE and usually It seems that it is a O(n^2) or higher problem.