Problem Link: EXPERT Problem - CodeChef
my solution is correct still it shows wrong: include
using namespace std;
int main() {
// problem setter = expert if min 50% approve by chef
// probs submitted = X
// approved =Y
// for expert = Y>= X/2;=> yes
// else no
int t;
cin>>t;
while(t–){
int X,Y;
cin>>X>>Y;
if(Y >= ((X*50)/100)){
cout<<“yes”<<endl;
}
else{
cout<<“no”<<endl;
}
}
return 0;
}
This has happened multiple times what is my fault in this im frustrated