fork download
  1. #include<bits/stdc++.h>
  2.  
  3. using namespace std ;
  4. using ll = long long ;
  5.  
  6. void solve(){
  7.  
  8. int speed, distance, time ;
  9. cin >> speed >> distance >> time ;
  10.  
  11. if(speed * time >= distance)
  12. cout << "Yes\n" ;
  13. else
  14. cout << "No\n" ;
  15.  
  16. }
  17.  
  18. int main(){
  19.  
  20. #ifndef ONLINE_JUDGE
  21. // freopen("input.txt", "r", stdin) ;
  22. #endif
  23.  
  24. ios::sync_with_stdio(0) ; cin.tie(0) ; cout.tie(0) ;
  25.  
  26. int t ; cin >> t ;
  27.  
  28. while(t--) solve() ;
  29.  
  30. return 0 ;
  31.  
  32. }
Success #stdin #stdout 0s 15232KB
stdin
2
100 250 2
72 123 3
stdout
No
Yes