Browse Source

问题 C: Branch on Condition - Circle in a Rectangle

webturing 4 years ago
parent
commit
a9ab35c96c
1 changed files with 6 additions and 0 deletions
  1. 6 0
      C.py

+ 6 - 0
C.py

@@ -0,0 +1,6 @@
+import math
+W,H,x,y,r= map(int, input().strip().split())
+if W-r>=x>=r and H-r>=y>=r:
+    print('Yes')
+else:
+    print('No')