Question - https://hack.codingblocks.com/contests/c/537/217
My solution - https://ide.codingblocks.com/s/38219
Test case #1 and #3 passed but shows ‘wrong-answer’ for #2 and #4 .
Question - https://hack.codingblocks.com/contests/c/537/217
My solution - https://ide.codingblocks.com/s/38219
Test case #1 and #3 passed but shows ‘wrong-answer’ for #2 and #4 .
try it for the case of
1
9
2
9 8