cppOlimp/nezemniye_gosti.cpp

16 lines
254 B
C++
Raw Permalink Normal View History

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