#include <bits/stdc++.h>
#define int long long
using namespace std;
int t , h , x , y;
main ()
{
scanf("%lld" , &t);
while(t--)
{
scanf("%lld%lld%lld" , &h , &x , &y);
if (x == 0 && y == 0 || h == 0)printf("No\n");
else if (x == 0)printf("Yes\n");
else if (y == 0) printf("No\n");
else if (y >= h)printf("Yes\n");
else if (x >= h) printf("No\n");
else
{
int a = x + y;
if (a >= h)printf("Yes\n");
else
{
h %= a;
if (!h)printf("Yes\n");
else
{
if (y >= h)
{
printf("Yes\n");
continue;
}
h -= x;
if (h <= 0)printf("No\n");
else if (y >= h) printf("Yes\n");
else printf("No\n");
}
}
}
}
return 0;
}
我这样写有什么问题