Help ramu@wrong ans

https://ide.codingblocks.com/s/49601

i m getting ans =11 instead of 12 in 1st test case,where is the problem?

https://hack.codingblocks.com/contests/c/512/104