E - The Longest Straight
题目链接:FZU - 2216#include <iostream>
#include <algorithm>
#include <string.h>
#include <math.h>
using namespace std;
int main(){
int T;
cin >>T;
while(T--){
int n, m;
cin >>n >>m;
if(m%2&&n>=m/2*3 || m%2==0&&n>=m/2*3-1) cout << "Yes\n";
else cout << "No\n";
}
return 0;
}