Untitled
Anonymous
plain_text
10/16/2022 2:51 PM
256 B
13
Indexable
#include <iostream>
using namespace std;
int main()
{
int W, H, R, D;
cin >> W >> H >> R;
D = 2 * R;
if (D <= W && D <= H) {
cout << "YES";
}
else {
cout << "NO";
}
}Editor is loading...