#include <iostream>
using namespace std;
int FIND(int ,int );
int main() {
int t,n,k;
cin >> t;
while(t--)
{
cin >> n >> k;
if(k > n-3)
{
cout << "yes\n";
}
else
{
cout << "no\n";
}
}
return 0;
}
using namespace std;
int FIND(int ,int );
int main() {
int t,n,k;
cin >> t;
while(t--)
{
cin >> n >> k;
if(k > n-3)
{
cout << "yes\n";
}
else
{
cout << "no\n";
}
}
return 0;
}
No comments:
Post a Comment