Created
December 13, 2015 02:27
-
-
Save rockos/294105794bff5af4ff63 to your computer and use it in GitHub Desktop.
IT KIDS LAB Junior Class Lessoon 1 problem4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int W,H,X,Y,R; | |
int flag=0; | |
scanf("%d %d %d %d %d",&W,&H,&X,&Y,&R); | |
if (H < Y+R) { | |
flag=1; | |
} | |
if(flag==0){ | |
if (W < X+R) { | |
flag=1; | |
} | |
} | |
if(flag==1){ | |
printf("NO"); | |
} | |
if(flag==0){ | |
printf("YES"); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment