1 条题解
-
2
#include <bits/stdc++.h> #define int long long const int N = 1e5 + 10; const int INF = 0x3f3f3f3f; using namespace std; int t; signed main() { cin >> t; while ( t-- ) { int x , y , z; scanf ("%lld%lld%lld" , &x , &y , &z); if (x < y) swap (x , y); int k = x - y; if (y * z >= k) printf ("YES"); else printf ("NO"); printf ("\n"); } return 0; }
- 1
信息
- ID
- 2340
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 6
- 标签
- 递交数
- 89
- 已通过
- 29
- 上传者