I was solving BALIFE spoj question. I’m not able to understand, how to take input.
The question is not stating any test cases. So, how to take input.
Here’s the link to the question: https://www.spoj.com/problems/BALIFE/
I was solving BALIFE spoj question. I’m not able to understand, how to take input.
The question is not stating any test cases. So, how to take input.
Here’s the link to the question: https://www.spoj.com/problems/BALIFE/
hi @siddharth_1_3277 you have to stop taking input when -1 is encountered…sir has shown in the video as well
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.