fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int W, H, R;
  6. cin >> W >> H >> R;
  7. if (2*R > W || 2*R > H) cout << "NO";
  8. else cout << "YES";
  9. return 0;
  10. }
Success #stdin #stdout 0s 4276KB
stdin
4 7 3
stdout
NO