s_id stringlengths 10 10 | p_id stringlengths 6 6 | u_id stringlengths 10 10 | date stringlengths 10 10 | language stringclasses 1
value | original_language stringclasses 11
values | filename_ext stringclasses 1
value | status stringclasses 1
value | cpu_time stringlengths 1 5 | memory stringlengths 1 7 | code_size stringlengths 1 6 | code stringlengths 1 539k |
|---|---|---|---|---|---|---|---|---|---|---|---|
s686351894 | p02394 | u743390845 | 1477329369 | Python | Python3 | py | Runtime Error | 0 | 0 | 106 | W,H,x,y,r= map(int,input().split())
if(x-r<0 || x+r>W || y-r<0 || y+r>H):
print("No")
else:
print("Yes") |
s101798139 | p02394 | u831244171 | 1477487918 | Python | Python | py | Runtime Error | 0 | 0 | 164 | x = map(int,input().split())
W = x[0]
H = x[1]
x = x[2]
y = x[3]
r = x[4]
if 0 <= x-r and x+r <= W and 0 <= y-r and y+r <= H:
print "Yes"
else:
print "No" |
s347830715 | p02394 | u831244171 | 1477487951 | Python | Python | py | Runtime Error | 0 | 0 | 164 | x = map(int,input().split())
W = x[0]
H = x[1]
x = x[2]
y = x[3]
r = x[4]
if 0 <= x-r and x+r <= W and 0 <= y-r and y+r <= H:
print "Yes"
else:
print "No" |
s900076447 | p02394 | u831244171 | 1477488021 | Python | Python | py | Runtime Error | 0 | 0 | 163 | x = map(int,input().split())
W = x[0]
H = x[1]
x = x[2]
y = x[3]
r = x[4]
if 0 <= x-r and x+r <= W:
if 0 <= y-r and y+r <= H:
print "Yes"
print "No" |
s953586957 | p02394 | u831244171 | 1477488127 | Python | Python | py | Runtime Error | 0 | 0 | 163 | m = map(int,input().split())
W = m[0]
H = m[1]
x = m[2]
y = m[3]
r = m[4]
if 0 <= x-r and x+r <= W:
if 0 <= y-r and y+r <= H:
print "Yes"
print "No" |
s255663659 | p02394 | u831244171 | 1477488234 | Python | Python | py | Runtime Error | 0 | 0 | 163 | m = map(int,input().split())
W = m[0]
H = m[1]
x = m[2]
y = m[3]
r = m[4]
if 0 <= x-r and x+r <= W:
if 0 <= y-r and y+r <= H:
print "Yes"
print "No" |
s650755491 | p02394 | u967794515 | 1477903229 | Python | Python3 | py | Runtime Error | 0 | 0 | 442 | # coding: utf-8
# Here your code !
a,b,c = input().split()
if(a <= b <= c):
print('{0} {1} {2}'.format(a,b,c))
if(a >= b >= c):
print('{0} {1} {2}'.format(c,b,a))
if(a > c > b):
print('{0} {1} {2}'.format(b,c,a))
if(b > a >= c):
print('{0} {1} {2}'.format(c,a,b))
if(b > c > a):
print('{0} {1} {2}'.format(a,c,b))
if(c > b >= a):
print('{0} {1} {2}'.format(a,b,c))
if(c > a > b):
print('{0} {1} {2}'.format(b,a,c)) |
s854586877 | p02394 | u967794515 | 1477907235 | Python | Python3 | py | Runtime Error | 0 | 0 | 474 | # coding: utf-8
# Here your code !
w,h,x,y,r = map(int,input().split())
if(w - (x + r) < 0):
print('No')
elif(x =< 0):
print('No')
elif(y =< 0):
print('No')
elif(x / 2 < r):
print('No')
elif(y / 2 < r):
print('No')
elif(x - r < 0):
print('No')
elif(r <= x <= w - r):
if(h - (y + r) < 0):
print('No')
elif(y - r < 0):
print('No')
elif(r <= y <= h - r):
print('Yes') |
s336631215 | p02394 | u385274266 | 1479101884 | Python | Python3 | py | Runtime Error | 0 | 0 | 102 | W,H,x,y,r = map(int,input().split())
print('No' if (x-r)<0 or (x+r)>w or (y-r)<0 or (y+r)>h else 'No') |
s842036111 | p02394 | u385274266 | 1479101901 | Python | Python3 | py | Runtime Error | 0 | 0 | 103 | W,H,x,y,r = map(int,input().split())
print('No' if (x-r)<0 or (x+r)>w or (y-r)<0 or (y+r)>h else 'Yes') |
s255073276 | p02394 | u086566114 | 1479300555 | Python | Python | py | Runtime Error | 0 | 0 | 245 | import sys
[Width, Height, x, y, r] = [int(x) for x in sys.stdin.readline().stlip()]
lower_x = r
lower_y = r
upper_x = Width - r
upper_y = Height -r
if lower_x <= x <= upper_x and lower_y <= y <= upper_y:
print("Yes")
else:
print("No") |
s909375969 | p02394 | u326248180 | 1479362745 | Python | Python3 | py | Runtime Error | 0 | 0 | 83 | W, H, w, y, r = map(int, input().split())
if x -r < 0 or x + r > W:
print "No" |
s445647972 | p02394 | u326248180 | 1479362785 | Python | Python3 | py | Runtime Error | 0 | 0 | 84 | W, H, w, y, r = map(int, input().split())
if x -r < 0 or x + r > W:
print("No") |
s954868243 | p02394 | u326248180 | 1479362816 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | W, H, w, y, r = map(int, input().split())
if (x -r) < 0 or (x + r) > W:
print("No") |
s855861668 | p02394 | u326248180 | 1479362879 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | W, H, w, y, r = map(int, input().split())
if (x -r) < 0 or (x + r) > W:
print("No")
elif (x- r) >= 0 and (x + r) <= W:
print("Yes") |
s457408382 | p02394 | u326248180 | 1479363156 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | W, H, w, y, r = map(int, input().split())
if (x- r) >= 0 and (x + r) <= W:
print("Yes")
else:
print("No") |
s695239364 | p02394 | u326248180 | 1479363198 | Python | Python3 | py | Runtime Error | 0 | 0 | 114 | w, h, w, y, r = map(int, input().split())
if (x- r) >= 0 and (x + r) <= w:
print("Yes")
else:
print("No") |
s052578638 | p02394 | u326248180 | 1479363334 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | w, h, w, y, r = map(int, input().split())
if (x - r) >= 0 and (x + r) <= w:
print("Yes")
else:
print("No") |
s420594157 | p02394 | u326248180 | 1479363362 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | w, h, x, w, y, r = map(int, input().split())
if (x - r) >= 0 and (x + r) <= w:
print("Yes")
else:
print("No") |
s170241250 | p02394 | u234837959 | 1481371197 | Python | Python3 | py | Runtime Error | 0 | 0 | 320 | import sys
list_1 = input().split(" ")
list_2 = list(map(int, list_1))
w = list_2[0]
h = list_2[1]
x = list_2[2]
y = list_2[3]
r = list_2[4]
if !(abs(x - r) < abs(w) && abs(x + r) < abs(w)):
print("NO")
sys.exit()
if !(abs(y - r) < abs(h) && abs(y + r) < abs(h)):
print("NO")
sys.exit()
print("YES") |
s512249080 | p02394 | u234837959 | 1481371419 | Python | Python3 | py | Runtime Error | 0 | 0 | 322 | import sys
list_1 = input().split(" ")
list_2 = list(map(int, list_1))
w = list_2[0]
h = list_2[1]
x = list_2[2]
y = list_2[3]
r = list_2[4]
if !(abs(x - r) < abs(w) and abs(x + r) < abs(w)):
print("NO")
sys.exit()
if !(abs(y - r) < abs(h) and abs(y + r) < abs(h)):
print("NO")
sys.exit()
print("YES") |
s276056867 | p02394 | u234837959 | 1481373397 | Python | Python3 | py | Runtime Error | 0 | 0 | 382 | import sys
list_1 = input().split(" ")
list_2 = list(map(int, list_1))
w = list_2[0]
h = list_2[1]
x = list_2[2]
y = list_2[3]
r = list_2[4]
checker_boy(x + r, w)
checker_boy(x - r, w)
checker_boy(y + r, h)
checker_boy(y - r, h)
print("Yes")
def checker_boy(x_r, n):
if x_r == 0:
return 0
if n * x_r / x_r * x_r >= 0:
pass
else:
print("No")
sys.exit()
|
s710169956 | p02394 | u838759969 | 1482573894 | Python | Python3 | py | Runtime Error | 0 | 0 | 491 | __author__ = 'CIPHER'
_project_ = 'PythonLehr'
class BoundingBox:
def __init__(self, width, height):
self.width = width;
self.height = height;
def CalculateBox(self, x, y, r):
if x>= r and x<=(self.width-r) and y>=r and y<=(self.height-r):
print("Yes")
else:
print("No")
width = int(input())
height = int(input())
x = int(input())
y = int(input())
r = int(input())
Box = BoundingBox(width, height)
Box.CalculateBox(x, y, r) |
s864233423 | p02394 | u493187281 | 1482684332 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | l=0
l = input().split()
W = int(l[0])
H = int(l[1])
x = int(l[2])
y = int(l[3])
r = int(l[4])
if w>x+r and H>y+r:
print("YES")
else:
print("NO") |
s305172874 | p02394 | u493187281 | 1482684461 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | l=0
l = input().split()
W = int(l[0])
H = int(l[1])
x = int(l[2])
y = int(l[3])
r = int(l[4])
if W>x+r and H>y+r:
print("YES")
else:
print("NO") |
s811830729 | p02394 | u019678978 | 1482903596 | Python | Python3 | py | Runtime Error | 0 | 0 | 158 | ciar = list(int, input().split())
W,H,x,y,r = ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]
if (x + r) < W and (y + r) < H :
print("Yes")
else :
print("No") |
s210958242 | p02394 | u019678978 | 1482903815 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | ciar = list(int, input().split())
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if (x + r) < W and (y + r) < H :
print("Yes")
else :
print("No") |
s353341233 | p02394 | u019678978 | 1482915649 | Python | Python3 | py | Runtime Error | 0 | 0 | 183 | ciar = input().split()
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if (x + r) <= W and (y + r) <= H and (y - r) >= 0 and (x -r) >= 0:
print("Yes")
else :
print("No") |
s110296500 | p02394 | u019678978 | 1482915826 | Python | Python3 | py | Runtime Error | 0 | 0 | 184 | ciar = input().split()
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if (x + r) <= W and (y + r) <= H and (y - r) >= 0 and (x - r) >= 0:
print("Yes")
else :
print("No") |
s468493638 | p02394 | u019678978 | 1482916141 | Python | Python3 | py | Runtime Error | 0 | 0 | 194 | ciar = input().split()
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if (x + r) <= W and (x - r) >= 0 :
if (y + r) <= H and (y - r) >= 0 :
print("Yes")
else :
print("No") |
s895506713 | p02394 | u019678978 | 1482916220 | Python | Python3 | py | Runtime Error | 0 | 0 | 194 | ciar = input().split()
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if (x + r) <= W and (x - r) >= 0 :
if (y + r) <= H and (y - r) >= 0 :
print("Yes")
else :
print("No") |
s407070755 | p02394 | u019678978 | 1482916326 | Python | Python3 | py | Runtime Error | 0 | 0 | 175 | ciar = input().split()
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if x + r <= W and y - r >= 0 and x - r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s202970754 | p02394 | u019678978 | 1482916338 | Python | Python3 | py | Runtime Error | 0 | 0 | 175 | ciar = input().split()
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if x + r <= W and y - r >= 0 and x - r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s482477301 | p02394 | u019678978 | 1482916368 | Python | Python3 | py | Runtime Error | 0 | 0 | 197 | ciar = input().split(" ")
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if (x + r) <= W and (x - r) >= 0 :
if (y + r) <= H and (y - r) >= 0 :
print("Yes")
else :
print("No") |
s650566535 | p02394 | u019678978 | 1482916435 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | ciar = input().split(" ")
W,H,x,y,r = [ciar[0],ciar[1],ciar[2],ciar[3],ciar[4]]
if x - r >= 0 and x + r <= W :
if (y + r) <= H :
print("Yes")
else :
print("No") |
s645447434 | p02394 | u019678978 | 1482916983 | Python | Python3 | py | Runtime Error | 0 | 0 | 258 | ciar = input().split()
W = int(ciar[0])
H = int(ciar[1])
x = int(ciar[2])
y = int(ciar[3])
r = int(ciar[4])
if (x + r) <= W and (x - r) >= 0 :
if (y + r) <= H and (y - r) >= 0 :
print("Yes")
else
print("No")
else :
print("No") |
s599040838 | p02394 | u519227872 | 1485263835 | Python | Python | py | Runtime Error | 0 | 0 | 95 | W,H,x,y,r = map(int,raw_input())
if x + r <= w and y + r <= H:
print "Yes"
else:
print "No" |
s771352475 | p02394 | u519227872 | 1485263889 | Python | Python | py | Runtime Error | 0 | 0 | 95 | W,H,x,y,r = map(int,raw_input())
if x + r <= W and y + r <= H:
print "Yes"
else:
print "No" |
s982063309 | p02394 | u144068724 | 1485701908 | Python | Python | py | Runtime Error | 0 | 0 | 114 | W,H,x,y,r = map(int,raw_input().split())
if (r <= x <= W-r) AND (r < y < H-r):
print"Yes"
else:
print"No" |
s645497690 | p02394 | u138546245 | 1486003923 | Python | Python3 | py | Runtime Error | 0 | 0 | 634 | def circle_in_rectangle(radius, pos, height, width):
"""
radius: float
pos: tuple, (x, y)
height: float, height of rectangle
width: float, width of rectangle
returns True if circle is in rectangle, otherwise False
>>> circle_in_rectangle(1, (1, 1), 4, 5)
True
>>> circle_in_rectangle(1, (2, 4), 4, 5)
False
"""
(x, y) = pos
if x < radius or x > width - radius:
return False
if y < radius or y > height - radius:
return False
return True
(w, h, x, y, r) = input().split(' ')
if circle_in_rectangle(r, (x, y), h, w):
print('Yes')
else:
print('No') |
s829454584 | p02394 | u138546245 | 1486003963 | Python | Python3 | py | Runtime Error | 0 | 0 | 702 | def circle_in_rectangle(radius, pos, height, width):
"""
radius: float
pos: tuple, (x, y)
height: float, height of rectangle
width: float, width of rectangle
returns True if circle is in rectangle, otherwise False
>>> circle_in_rectangle(1, (1, 1), 4, 5)
True
>>> circle_in_rectangle(1, (2, 4), 4, 5)
False
"""
(x, y) = pos
if x < radius or x > width - radius:
return False
if y < radius or y > height - radius:
return False
return True
if __name__ == '__main__':
(w, h, x, y, r) = input('input 5 numbers: ').split(' ')
if circle_in_rectangle(r, (x, y), h, w):
print('Yes')
else:
print('No') |
s962220509 | p02394 | u138546245 | 1486004135 | Python | Python3 | py | Runtime Error | 0 | 0 | 575 | def circle_in_rectangle(radius, pos, height, width):
"""
radius: float
pos: tuple, (x, y)
height: float, height of rectangle
width: float, width of rectangle
returns True if circle is in rectangle, otherwise False
"""
(x, y) = pos
if x < radius or x > width - radius:
return False
if y < radius or y > height - radius:
return False
return True
if __name__ == '__main__':
(w, h, x, y, r) = input().split(' ')
if circle_in_rectangle(r, (x, y), h, w):
print('Yes')
else:
print('No') |
s884992910 | p02394 | u138546245 | 1486004183 | Python | Python3 | py | Runtime Error | 0 | 0 | 527 | def circle_in_rectangle(radius, pos, height, width):
"""
radius: float
pos: tuple, (x, y)
height: float, height of rectangle
width: float, width of rectangle
returns True if circle is in rectangle, otherwise False
"""
(x, y) = pos
if x < radius or x > width - radius:
return False
if y < radius or y > height - radius:
return False
return True
(w, h, x, y, r) = input().split(' ')
if circle_in_rectangle(r, (x, y), h, w):
print('Yes')
else:
print('No') |
s136489047 | p02394 | u138546245 | 1486004754 | Python | Python3 | py | Runtime Error | 0 | 0 | 752 | def circle_in_rectangle(radius, pos, height, width):
"""
radius: int
pos: tuple, (x, y)
height: int, height of rectangle
width: int, width of rectangle
returns True if circle is in rectangle, otherwise False
>>> circle_in_rectangle(1, (1, 1), 4, 5)
True
>>> circle_in_rectangle(1, (2, 4), 4, 5)
False
"""
(x, y) = pos
if x < radius or x > width - radius:
return False
if y < radius or y > height - radius:
return False
return True
if __name__ == '__main__':
(w, h, x, y, r) = input().split(' ')
if circle_in_rectangle(int(r), (int(x), int(y)), int(h), int(w)):
print('Yes')
else:
print('No')
~ |
s528254070 | p02394 | u104171359 | 1486016038 | Python | Python3 | py | Runtime Error | 0 | 0 | 883 | #!usr/bin/env python3
def string_five_numbers_spliter():
"""Split a given space-separated five numbers in a string into integers
Return five integer values from a given space-separated five integers in a string.
Returns:
Five integer values; namely, w, h, x, y and r
"""
w, h, x, y, r = [int(i) for i in input().split()]
return w, h, x, y, r
def main():
# Given that there are a rectangle and a circle.
# Let w, h, x, y and r be such that:
# w = width of the rectangle
# h = height of thek rectangle
# x = x coordinate for the centre of the circle
# y = y coordinate for the centre of the circle
# r = diameter of the circle
w, h, x, y, r = string_five_numbers_spliter()
if not (x + r < 0) and not (y + r < 0) and
not (x + r > w) and not (y + r > h):
print('yes')
else:
print('no') |
s025209348 | p02394 | u708334265 | 1486481313 | Python | Python3 | py | Runtime Error | 0 | 0 | 223 | inputs = input().split(' ')
inputs = list(map(int,inputs))
W = inputs[0]
H = inputs[1]
x = inputs[2]
y = inputs[3]
r = inputs[4]
if r <= x and x <= W-r and
r <= y and y <= H-r :
print('Yes')
else :
print('No') |
s487949087 | p02394 | u708334265 | 1486481329 | Python | Python3 | py | Runtime Error | 0 | 0 | 223 | inputs = input().split(' ')
inputs = list(map(int,inputs))
W = inputs[0]
H = inputs[1]
x = inputs[2]
y = inputs[3]
r = inputs[4]
if r <= x and x <= W-r and
r <= y and y <= H-r :
print('Yes')
else :
print('No') |
s863641461 | p02394 | u041208129 | 1488125623 | Python | Python | py | Runtime Error | 0 | 0 | 142 |
W, H, x, y, r = map(int, input().split())
if x - r >= 0 and x + r <= W and y - r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s104966551 | p02394 | u156091054 | 1488781770 | Python | Python3 | py | Runtime Error | 0 | 0 | 178 | W, H, x, y, r = map(int, input().split())
if x - r >= 0 and x + r =< W:
if y - r >= 0 and y + r <= H:
print("Yes")
else:
print("No")
else:
print("No") |
s118675598 | p02394 | u156091054 | 1488781890 | Python | Python3 | py | Runtime Error | 0 | 0 | 181 | W, H, x, y, r = map(int, input().split(" "))
if x - r >= 0 and x + r =< W:
if y - r >= 0 and y + r <= H:
print("Yes")
else:
print("No")
else:
print("No") |
s999299547 | p02394 | u685534465 | 1491812891 | Python | Python3 | py | Runtime Error | 0 | 0 | 9 | 5 4 2 4 1 |
s997106143 | p02394 | u497195381 | 1493436914 | Python | Python3 | py | Runtime Error | 0 | 0 | 80 | W,H,x,y,r=map(int,input().split())
x+r<W&&r<x&&r<y&&y+r<H?print "Yes":print "No" |
s325194271 | p02394 | u497195381 | 1493436934 | Python | Python3 | py | Runtime Error | 0 | 0 | 74 | W,H,x,y,r=map(int,input().split())
print x+r<W&&r<x&&r<y&&y+r<H?"Yes":"No" |
s190579234 | p02394 | u497195381 | 1493437151 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | W,H,x,y,r=map(int,input().split())
if x+r<W&&r<x&&r<y&&y+r<H:
print("Yes")
else:
print("No") |
s095037746 | p02394 | u497195381 | 1493437165 | Python | Python3 | py | Runtime Error | 0 | 0 | 96 | W,H,x,y,r=map(int,input().split())
if (x+r<W&&r<x&&r<y&&y+r<H):
print("Yes")
else:
print("No") |
s259087888 | p02394 | u497195381 | 1493437231 | Python | Python3 | py | Runtime Error | 0 | 0 | 97 | W,H,x,y,r=map(int,input().split())
if (x+r<W&&r<x&&r<y&&y+r<H):
print("Yes")
else :
print("No") |
s358580504 | p02394 | u497195381 | 1493437431 | Python | Python3 | py | Runtime Error | 0 | 0 | 104 | W,H,x,y,r=map(int,input().split())
if !(x+r>W or r>x or r>y or y+r>H):
print("Yes")
else :
print("No") |
s200029927 | p02394 | u419755872 | 1493478403 | Python | Python3 | py | Runtime Error | 0 | 0 | 179 | #coding:UTF-8
s = input().split()
w=int(s[0])
h=int(s[1])
x=int(s[2])
y=int(s[3])
r=int(s[4])
if(x-r=>0 and x+r<=w and y-r=>0 and y+r<=h):
print("Yes")
else:
print ("No") |
s523159230 | p02394 | u213265973 | 1494229516 | Python | Python3 | py | Runtime Error | 0 | 0 | 171 | a = input().split(" ")
W = int(a[0])
H = int(a[1])
x = int(a[2])
y = int([3])
r = int(a[4])
if x>=r and W-x>=r and y>=r and H-y>=r:
print("Yes")
else:
print("No") |
s632872060 | p02394 | u213265973 | 1494229666 | Python | Python3 | py | Runtime Error | 0 | 0 | 190 | a = []
for i in range(5):
a.append(i)
W = int(a[0])
H = int(a[1])
x = int(a[2])
y = int([3])
r = int(a[4])
if x>=r and W-x>=r and y>=r and H-y>=r:
print("Yes")
else:
print("No") |
s771106679 | p02394 | u213265973 | 1494230403 | Python | Python3 | py | Runtime Error | 0 | 0 | 236 | list = map(int,raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print "No"
elif x + r > W:
print "No"
elif y-r < 0:
print "No"
elif y+r > H:
print "No"
else:
print "Yes" |
s123071271 | p02394 | u213265973 | 1494230411 | Python | Python3 | py | Runtime Error | 0 | 0 | 236 | list = map(int,raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print "No"
elif x + r > W:
print "No"
elif y-r < 0:
print "No"
elif y+r > H:
print "No"
else:
print "Yes" |
s415705671 | p02394 | u213265973 | 1494230434 | Python | Python3 | py | Runtime Error | 0 | 0 | 236 | list = map(int,raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print "No"
elif x + r > W:
print "No"
elif y-r < 0:
print "No"
elif y+r > H:
print "No"
else:
print "Yes" |
s429785521 | p02394 | u213265973 | 1494230491 | Python | Python3 | py | Runtime Error | 0 | 0 | 241 | list = map(int,raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print("No")
elif x + r > W:
print("No")
elif y-r < 0:
print("No")
elif y+r > H:
print("No")
else:
print("Yes") |
s249587020 | p02394 | u213265973 | 1494230517 | Python | Python3 | py | Runtime Error | 0 | 0 | 241 | list = map(int,raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print("No")
elif x + r > W:
print("No")
elif y-r < 0:
print("No")
elif y+r > H:
print("No")
else:
print("Yes") |
s395644434 | p02394 | u213265973 | 1494230582 | Python | Python3 | py | Runtime Error | 0 | 0 | 253 | a = []
for i in range(5):
a.append(input())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print("No")
elif x + r > W:
print("No")
elif y-r < 0:
print("No")
elif y+r > H:
print("No")
else:
print("Yes") |
s089141232 | p02394 | u650790815 | 1495237533 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | W,H,x,y,r = (int(i) for i in input().split())
if (0 <= x-r and x+r <= W) and (0 <= y-r and y+r <= M):
print('Yes')
else:
print('No') |
s016118577 | p02394 | u650790815 | 1495238205 | Python | Python3 | py | Runtime Error | 0 | 0 | 138 | W,H,x,y,r = list(map(int,input().split()))
if (0 <= x-r and x+r <= W) and ( 0 <= y-r and y+r <= M):
print('Yes')
else:
print('No') |
s509081842 | p02394 | u650790815 | 1495354228 | Python | Python3 | py | Runtime Error | 0 | 0 | 130 | W,H,x,y,r = map(int,input().split())
if (0 <= x-r and x+r <= W) and (0 <= y-r and y+r <=h):
print('Yes')
else:
print('No') |
s113164550 | p02394 | u603049633 | 1495502150 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 |
W,H,x,y,r = map(int, input().split())
if r <= x and x <= W and r <= y and y <= H:
print(Yes)
else:
print(No) |
s641597024 | p02394 | u050103511 | 1497512169 | Python | Python3 | py | Runtime Error | 0 | 0 | 136 | W,H,x,y,z = map(int, input().split())
if (x-r >= 0 and x + r <= W) and (y-r >= 0 and y + r <= H):
print("Yes")
else:
print("No") |
s724251039 | p02394 | u050103511 | 1497512279 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | W,H,x,y,z = map(int, input().split())
if x-r >= 0 and x + r <= W and y-r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s782778148 | p02394 | u050103511 | 1497512363 | Python | Python3 | py | Runtime Error | 0 | 0 | 248 | W,H,x,y,z = map(int, input().split())
if (x-r >= 0 and x + r <= W) and (y-r >= 0 and y + r <= H):
print("Yes")
else:
print("No") |
s909962449 | p02394 | u169794024 | 1497513734 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | W,H,x,y,r=map(int,input().split())
if W<(x+r):
print(No)
elif H<(y+r):
print(No)
else:
print(Yes) |
s348054523 | p02394 | u569585396 | 1498031851 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | x = input().split()
W = x[0]
H = x[1]
x = x[2]
y = x[3]
r = x[4]
if W >= x + r and H >= y + r:
print("Yes")
else:
print("No") |
s740482029 | p02394 | u569585396 | 1498031923 | Python | Python3 | py | Runtime Error | 0 | 0 | 153 | i = input().split()
x = list(map(int,i))
W = x[0]
H = x[1]
x = x[2]
y = x[3]
r = x[4]
if W >= x + r and H >= y + r:
print("Yes")
else:
print("No") |
s762214929 | p02394 | u569585396 | 1498032335 | Python | Python3 | py | Runtime Error | 0 | 0 | 187 | x = input().split()
W = int(x[0])
H = int(x[1])
x = int(x[2])
y = int(x[3])
r = int(x[4])
if W >= x + r and H >= y + r and x - r >= 0 and y - r >= 0:
print("Yes")
else:
print("No") |
s551355246 | p02394 | u569585396 | 1498032556 | Python | Python3 | py | Runtime Error | 0 | 0 | 195 | x = input().split()
W = int(x[0])
H = int(x[1])
x = int(x[2])
y = int(x[3])
r = int(x[4])
if W >= (x + r) and H >= (y + r) and (x - r) >= 0 and (y - r) >= 0:
print("Yes")
else:
print("No") |
s278489481 | p02394 | u911624488 | 1498033233 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | W = 5
H = 4
x = 2
y = 2
r = 1
if W > H > r:
print ("Yes")
else W < H <r:
print("No") |
s234739450 | p02394 | u333596716 | 1498365173 | Python | Python3 | py | Runtime Error | 0 | 0 | 173 | W, H, x, y, r = map(int, input().split()))
if x + r >= 0 and y + r >= 0:
if W <= x+r and H <= y+r:
print("Yes")
else:
print("No") |
s635477980 | p02394 | u911624488 | 1498367922 | Python | Python3 | py | Runtime Error | 0 | 0 | 236 | list = map(int,raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print "No"
elif x + r > W:
print "No"
elif y-r < 0:
print "No"
elif y+r > H:
print "No"
else:
print "Yes" |
s639241020 | p02394 | u911624488 | 1498368032 | Python | Python3 | py | Runtime Error | 0 | 0 | 236 | list = map(int,raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print "No"
elif x + r > W:
print "No"
elif y-r < 0:
print "No"
elif y+r > H:
print "No"
else:
print "Yes" |
s369309777 | p02394 | u911624488 | 1498368112 | Python | Python3 | py | Runtime Error | 0 | 0 | 276 | list = map(int,raw_input().split())
W = list[0]
H = list[1]
x = list[2]
y = list[3]
r = list[4]
if x-r < 0:
print "No"
elif x + r > W:
print "No"
elif y-r < 0:
print "No"
elif y+r > H:
print "No"
else:
print "Yes" |
s925020218 | p02394 | u169794024 | 1498526809 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | W,H,x,y,r=map(int,input().split())
if (W-r>)=x:
if (H-r)>=y:
print("Yes")
else:
print("No")
else:
print("No") |
s132298214 | p02394 | u169794024 | 1498526826 | Python | Python3 | py | Runtime Error | 0 | 0 | 117 | W,H,x,y,r=map(int,input().split())
if (W-r>)=x:
if (H-r)>=y:
print("Yes")
else:
print("No")
else:
print("No") |
s259015529 | p02394 | u169794024 | 1498526914 | Python | Python3 | py | Runtime Error | 0 | 0 | 86 | W,H,x,y,r=map(int,input().split())
print "Yes" if (W>=(x+r)) and (H>=(y+r)) else "No" |
s889587562 | p02394 | u818923713 | 1498538463 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | W, H, x, y, r = list(map(int,input.split))
print('YES'if 0 <= x- r <= x + r and 0 <= y-r <= y+r,'NO'else) |
s285423854 | p02394 | u818923713 | 1498538522 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | W, H, x, y, r = list(map(int,input().split()))
print('YES'if 0 <= x- r <= x + r and 0 <= y-r <= y+r,else'NO') |
s667994401 | p02394 | u818923713 | 1498538569 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | W,H,x,y,r = list(map(int,input().split()))
print('YES'if 0 <= x - r <= x + r and 0 <= y - r <= y + r,else'NO') |
s249482679 | p02394 | u818923713 | 1498538781 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | W,H,x,y,r = list(map(int,input().split()))
if 0 <= x - r or x - r < x + r
print('yes')
elif 0 <= y - r or y - r <= y + r:
print('yes')
else:
print('no') |
s588964084 | p02394 | u818923713 | 1498538825 | Python | Python3 | py | Runtime Error | 0 | 0 | 162 | W,H,x,y,r = list(map(int,input().split()))
if 0 <= x - r or x - r < x + r:
print('yes')
elif 0 <= y - r or y - r <= y + r:
print('yes')
else:
print('no') |
s764587830 | p02394 | u818923713 | 1498624222 | Python | Python3 | py | Runtime Error | 0 | 0 | 123 | W,H,r,x,y = list(map(int,input().split()))
if 0 <= r - x <= r + x and 0 <= y - r <= y + r:
print('yes')
else:
prtin('no') |
s164592312 | p02394 | u818923713 | 1498624304 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | W,H,r,x,y = list(map(int,input().split()))
if 0 <= r - x <= r + x = W and 0 <= y - r <= y + r: = H
print('yes')
else:
prtin('no') |
s077703796 | p02394 | u818923713 | 1498624405 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | W,H,r,x,y = list(map(int,input().split()))
if 0 <= r - x <= r + x = W and 0 <= y - r <= y + r = H:
print('yes')
else:
prtin('no') |
s410006050 | p02394 | u818923713 | 1498624532 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | W, H, r, x ,y = list(map(int,input().split()))
if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H:
print('yes')
else:
print('no') |
s005712251 | p02394 | u818923713 | 1498624569 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | W, H, r, x ,y = list(map(int,input().split()))
if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H:
print('yes')
else:
print('no') |
s269235921 | p02394 | u818923713 | 1498624631 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | W, H, r, x ,y = list(map(int,input().split()))
if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H:
print('Yes')
else:
print('No') |
s199297304 | p02394 | u818923713 | 1498624658 | Python | Python3 | py | Runtime Error | 0 | 0 | 135 | W, H, r, x ,y = list(map(int,input().split()))
if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H:
print('Yes')
else:
print('No') |
s759167244 | p02394 | u818923713 | 1498624732 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | W, H, r, x ,y = list(map(int,input().split()))
print('Yes' if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H else 'No') |
s369548031 | p02394 | u818923713 | 1498624942 | Python | Python3 | py | Runtime Error | 0 | 0 | 126 | W, H, r, x, y = list(map(int, input().split()))
print('Yes' if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H else 'No') |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.