My issue
what is the error in this ??
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
// your code goes here
int t,n,x;
long int b;
cin>>t;
while(t--){
cin>>n>>x;
b=n*x;
if(b/10000!=0&&b/10000>0&&b/10000<=1)
cout<<"YES\n";
else
cout<<"NO\n";
}
}
Learning course: Introduction to C++
Problem Link: Coding problem - 2 Practice Problem in Introduction to C++ - CodeChef