cppOlimp/mouse.cpp

17 lines
256 B
C++
Raw Normal View History

2022-02-07 22:33:05 +03:00
//acmp.ru 0907 mouse.cpp 9%
#include <stdio.h>
int main(){
freopen("INPUT.TXT", "r", stdin);
freopen("OUTPUT.TXT", "w", stdout);
int w,h,r;
scanf("%i %i %i", &w, &h, &r);
r = r*2;
if(r <= w && r <= h){
printf("YES");
}else{
printf("NO");
}
}