LEBOMBS Problem - CodeChef <<–QUESTION LINK
MLFRj7 - Online C++0x Compiler & Debugging Tool - Ideone.com <<–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 CodeChef: Practical coding for everyone
5hPRQA - Online C++ Compiler & Debugging Tool - Ideone.com first line contains line number in which I have done correction.
1 Like
Such a silly mistake…Thanks
1 Like