my solution >> CodeChef: Practical coding for everyone
question link >> CodeChef: Practical coding for everyone
You need to set temp = 1;
outside of the if-conditions.
1 Like
my solution >> CodeChef: Practical coding for everyone
question link >> CodeChef: Practical coding for everyone
You need to set temp = 1;
outside of the if-conditions.