https://www.codechef.com/problems/LEBOMBS <<–QUESTION LINK
https://ideone.com/MLFRj7 <<–Solution link
1 Like
Plz have a look at this test case
2 \n
1 \n
1 \n
1 \n
1 \n
In case you are unable to figure out error after trying above test case then here is correction https://www.codechef.com/viewsolution/17989078
https://ideone.com/5hPRQA first line contains line number in which I have done correction.
1 Like
Such a silly mistake…Thanks
1 Like