Q12

#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;
}

No comments:

Post a Comment

SRM ELAB SOLUTUONS   DATA-STRUCTURE                                                                             **IF THE PROGRAM DON...