Wrong Ans shown by codeforces judge but when run on ideone and codechef IDE getting the right answer for the same test case

Revision en1, by aa19081995, 2015-06-18 23:02:18

this weird thing happened with me during a recent DIV 2 contest Codeforces Round #308 (Div. 2) . i submitted this code http://ideone.com/Jdt8it for problem http://codeforces.me/contest/552/problem/B and as u can see for input 99 i am getting the out 189 but here is my codeforces submission #11648222 and here it shows that for test case #4 which is actually input=99 my code is giving output 190. i tried running this same code on codechef IDE and there also with input 99 i got 189. so, can someone please help me why this weird thing might be happening!!!!

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English aa19081995 2015-06-18 23:15:16 112
en1 English aa19081995 2015-06-18 23:02:18 683 Initial revision (published)