#include <stdio.h>
int main(void) {
int t,n,x;
int cost;
scanf("%d",&n);
while (t--){
scanf("%d%d",&n,&x);
cost = n*x;
if(cost>=10000&&cost<=99999){
printf("YES\n");
}
else{
printf("NO\n");
}
}
return 0;
}
I wrote this code in the final solution of practice which, according to me is correct still, it is not accepting the solution. Link to the problem: CodeChef: Practical coding for everyone