why my code is not running pls check;
Why my code is not running pls check
if(c>1){cout<<“Yes\n”;}
else { cout<<“No\n”;}
make this minor change, not everything has to be printed in caps
hello @pankajsingh
the value of count will atleast one because empty set is already there .
so ur condition for printing no should be
if count==1 i.e we have only empty subset that produces 0 so print NO
otherwise for all other cases print YES