问我为什么?
好听点就是直觉,
说实话就是蒙的.
对不对不知道,不过ac了
#include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
int l, r;
int main()
{
int t;
cin >> t;
while(t--)
{
cin >> l >> r;
int a = r + 1;
if(l >= (a + 1) / 2) cout << "YES" << endl;
else cout << "NO" << endl;
}
return 0;
}