Problem in CodeForce judge, giving wrong output for my solution

Правка en2, от aa19081995, 2015-06-18 23:15:16

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!!!!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский aa19081995 2015-06-18 23:15:16 112
en1 Английский aa19081995 2015-06-18 23:02:18 683 Initial revision (published)