My code is giving the right answer for the sample test case but still, the Test Cases are not passing.
LINK - https://ide.codingblocks.com/s/196450
Code Runs fine but test cases not passing
@vmanav You need to reinitialise count to 0 for each test case loop. Also you need to use endl while printing.
if(count>0){
cout<<βYesβ<<endl;
}
else{
cout<<βNoβ<<endl;
}