Code Runs fine but test cases not passing

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

@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;
}