Help ramu problem@wrong ans

https://ide.codingblocks.com/s/49601
i m getting ans ==11 instead of 12 in 1st test case. plz tell me my mistake.
https://hack.codingblocks.com/contests/c/512/104

Hi Ayush, in line number 12, it will be b[j] instead of a [j].

1 Like