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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s357700356 | p02394 | u572760146 | 1444658659 | Python | Python3 | py | Runtime Error | 0 | 0 | 210 | S = raw_input()
L = S.split()
def hani(w,h,x,y,r):
if x - r < 0 or y - r < 0 or x + r > w or y + r > h :
print("No")
else :
print("Yes")
# hani(5,4,2,2,1)
#
# hani(5,4,2,4,1) |
s873342316 | p02394 | u572760146 | 1444658988 | Python | Python3 | py | Runtime Error | 0 | 0 | 293 | S = raw_input()
L = S.split()
a = L[0]
b = L[1]
c = L[2]
d = L[3]
e = L[4]
a = int(a)
b = int(b)
c = int(c)
d = int(d)
e = int(e)
l = [a,b,c.d.e]
def hani(w,h,x,y,r):
if x - r < 0 or y - r < 0 or x + r > w or y + r > h :
print("No")
else :
print("Yes")
|
s569320587 | p02394 | u139034459 | 1445707917 | Python | Python | py | Runtime Error | 0 | 0 | 269 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
var = raw_input().split()
var = map(int, var)
if 0 < var[2] - var[4] or 0 < var[3] - var[4]:
print "No"
return None
elif var[0] < var[2] + var[4] or var[1] > var[3] + var[4]:
print "No"
return None
else:
print "Yes" |
s669289392 | p02394 | u465282900 | 1447114433 | Python | Python | py | Runtime Error | 0 | 0 | 152 | w,h,x,y,r=map(int,raw_input().split())
f=0
if x+r>w:
f=1
if y+r>h:
f=1
if r>x:
f=1
if r>y:
f=1
if f==0:
print "Yes"
else print "No" |
s542197320 | p02394 | u433833528 | 1447208151 | Python | Python | py | Runtime Error | 0 | 0 | 313 | W,H,x,y,r=map(int,raw_input().split())
if not(-100<=x and y<=100 and 0<W<=100 and 0<H<=100 and 0<r<=100):
print("Constraits Errand")
exit()
#elif x<=0 or y<=0 or y-r<=H<=y+r or x-r<=W<=x+r or y-r<=0<=y+r or x-r<=0<=x+r:
elif W-r<=x<=W+r and H-r<=y<= H+r
print("No")
exit()
else:
print("Yes") |
s558864706 | p02394 | u613805578 | 1452699927 | Python | Python | py | Runtime Error | 0 | 0 | 127 | W, H, x, y, r = map(int, raw_input().split())
if x - r < 0 or x + r > W or y - r < 0 or y + r > H:
print "No"
else:
print "Yes" |
s526741003 | p02394 | u613805578 | 1452700045 | Python | Python | py | Runtime Error | 0 | 0 | 127 | W, H, x, y, r = map(int, raw_input().split())
if x + r < 0 or x + r > W or y + r < 0 or y + r > H:
print "No"
else:
print "Yes" |
s350103945 | p02394 | u613805578 | 1452700228 | Python | Python | py | Runtime Error | 0 | 0 | 122 | W, H, x, y, r = map(int, raw_input().split())
if r < x and r < y and r + y < H and r + x < W
print "Yes"
else:
print "No" |
s125471904 | p02394 | u613805578 | 1452700284 | Python | Python | py | Runtime Error | 0 | 0 | 126 | W, H, x, y, r = map(int, raw_input().split())
if r <= x and r <= y and r + y <= H and r + x <= W
print "Yes"
else:
print "No" |
s630975567 | p02394 | u613805578 | 1452700311 | Python | Python | py | Runtime Error | 0 | 0 | 127 | W, H, x, y, r = map(int, raw_input().split())
if r <= x and r <= y and r + y <= H and r + x <= W :
print "Yes"
else:
print "No" |
s318457034 | p02394 | u613805578 | 1452700365 | Python | Python | py | Runtime Error | 0 | 0 | 127 | W, H, x, y, r = map(int, raw_input().split())
if x >= r and y >= r and r + y <= H and r + x <= W :
print "Yes"
else:
print "No" |
s070195424 | p02394 | u724923896 | 1452846581 | Python | Python | py | Runtime Error | 0 | 0 | 126 | W, H, x, y, r = map(int, raw_input().split))
if 0 <= x-r and x-r <= W:
if 0 <= y-r and y-r <= H:
print Yes
else:
print No |
s709839015 | p02394 | u724923896 | 1452846676 | Python | Python | py | Runtime Error | 0 | 0 | 131 | W, H, x, y, r = map(int, raw_input().split))
if 0 <= x-r and x+r <= W:
if 0 <= y-r and y+r <= H:
print "Yes"
else:
print "No" |
s245579000 | p02394 | u724923896 | 1452846713 | Python | Python | py | Runtime Error | 0 | 0 | 130 | W, H, x, y, r = map(int, raw_input().split))
if 0 <= x-r and x+r <= W and 0 <= y-r and y+r <= H:
print "Yes"
else:
print "No |
s448398897 | p02394 | u724923896 | 1452846813 | Python | Python | py | Runtime Error | 0 | 0 | 138 | W, H, x, y, r = map(int, raw_input().split))
??????
if 0 <= x-r and x+r <= W and 0 <= y-r and y+r <= H:
????print "Yes"
else:
??print "No" |
s543813627 | p02394 | u724923896 | 1452846930 | Python | Python | py | Runtime Error | 0 | 0 | 138 | W, H, x, y, r = map(int, raw_input().split))
??????
if 0 <= x-r and x+r <= W and 0 <= y-r and y+r <= H:
????print 'Yes'
else:
??print 'No' |
s322266079 | p02394 | u724923896 | 1452846983 | Python | Python | py | Runtime Error | 0 | 0 | 128 | W, H, x, y, r = map(int, raw_input().split))
if 0 <= x-r and x+r <= W and 0 <= y-r and y+r <= H:
print 'Yes'
else:
print 'No' |
s839793613 | p02394 | u724923896 | 1452847048 | Python | Python | py | Runtime Error | 0 | 0 | 137 | W, H, x, y, r = map(int, raw_input().split))
if 0 <= x - r and x + r <= W and 0 <= y - r and y + r <= H:
print 'Yes'
else:
print 'No' |
s602745136 | p02394 | u724923896 | 1452847268 | Python | Python | py | Runtime Error | 0 | 0 | 137 | W, H, x, y, r = map(int, raw_input().split))
if (0 <= x-r) and (x+r <= W) and (0 <= y-r) and (y+r <= H):
print 'Yes'
else:
print 'No' |
s586026841 | p02394 | u724923896 | 1452847396 | Python | Python | py | Runtime Error | 0 | 0 | 125 | W, H, x, y, r = map(int, raw_input().split))
if r <= x and x+r <= W and r <= y and y+r <= H:
print 'Yes'
else:
print 'No' |
s308740016 | p02394 | u724923896 | 1452847508 | Python | Python | py | Runtime Error | 0 | 0 | 129 | W, H, x, y, r = map(int, raw_input().split))
if 0 <= x-r and x <= W-r and 0 <= y-r and y <= H-r:
print 'Yes'
else:
print 'No' |
s782233153 | p02394 | u724923896 | 1452847663 | Python | Python | py | Runtime Error | 0 | 0 | 137 | W, H, x, y, r = map(int, raw_input().split))
if 0 <= (x-r) and (x+r) <= W and 0 <= (y-r) and (y+r) <= H:
print 'Yes'
else:
print 'No' |
s322097025 | p02394 | u253463900 | 1453115770 | Python | Python3 | py | Runtime Error | 0 | 0 | 175 | W, H, x, y, r = [int(x) for x in input().split()]
if (0 <= x-r <= W) and (0 <= x+r <= w):
if(0 <= y-r <= H) and (0 <= y+r <= H):
print("Yes")
else:
print("No") |
s881583141 | p02394 | u532962080 | 1453206192 | Python | Python | py | Runtime Error | 0 | 0 | 180 | W=int(raw_input())
H=int(raw_input())
x=int(raw_input())
y=int(raw_input())
r=int(raw_input())
if x <= W-r and x >= r:
if y <= H-r and y >= r:
print "yes"
else:
print "no" |
s842317753 | p02394 | u532962080 | 1453206264 | Python | Python | py | Runtime Error | 0 | 0 | 178 | W=int(raw_input())
H=int(raw_input())
x=int(raw_input())
y=int(raw_input())
r=int(raw_input())
if x <= W-r and x >= r and y <= H-r and y >= r:
print "yes"
else:
print "no" |
s810266474 | p02394 | u393769849 | 1453206774 | Python | Python | py | Runtime Error | 0 | 0 | 123 | x, y, r, W, H = map(int, input().split())
if r < x and x < W - r:
if r < y and y < H - r:
print "Yes"
else:
print "No" |
s689108536 | p02394 | u393769849 | 1453207257 | Python | Python | py | Runtime Error | 0 | 0 | 143 | W, H, x, y, r = map(int, raw_input().split())
if r <= x and x <= W - r:
if r <= y and y <= H - r:
print "Yes"
else "No"
else:
print "No" |
s493198749 | p02394 | u393769849 | 1453207275 | Python | Python | py | Runtime Error | 0 | 0 | 151 | W, H, x, y, r = map(int, raw_input().split())
if r <= x and x <= W - r:
if r <= y and y <= H - r:
print "Yes"
else:
print "No"
else:
print "No" |
s004978298 | p02394 | u047737909 | 1453211023 | Python | Python | py | Runtime Error | 0 | 0 | 147 | n = map(int,raw_input().split())
if 0 <= m[3]-m[5] and m[3]+m[5] <= m[1] and 0 <= m[4]-m[5] and m[4]+m[5] <= m[2]:
print 'Yes'
else:
print'No' |
s002652880 | p02394 | u047737909 | 1453211054 | Python | Python | py | Runtime Error | 0 | 0 | 147 | m = map(int,raw_input().split())
if 0 <= m[3]-m[5] and m[3]+m[5] <= m[1] and 0 <= m[4]-m[5] and m[4]+m[5] <= m[2]:
print 'Yes'
else:
print'No' |
s047351246 | p02394 | u177295149 | 1453213939 | Python | Python | py | Runtime Error | 0 | 0 | 105 | W, H, x, y, r = map(int, raw_input().split())
if x+r <= W and y+r <= H:
print"Yes"
else
print"No" |
s611723409 | p02394 | u974554153 | 1453256272 | Python | Python | py | Runtime Error | 0 | 0 | 150 | w,h,x,y,r = map(int,raw_input().split())
if x<r:
print 'No'
elif y<r:
print'No'
elif w-x<r:
print 'No'
elif h-y<r:
print 'No'
else :
print 'Yes' |
s317345281 | p02394 | u828153094 | 1453256420 | Python | Python | py | Runtime Error | 0 | 0 | 249 | W, H, x, y, r = map(int, raw_input().split())
if 2*r <= W and 2*r <= H:
if W > 0 and H > 0 and r <= 100:
if x, y >= -100 and x, y <= 100:
if x >= r and x <= W-r and y >= r and y <= H-r:
print 'Yes'
print 'No' |
s650133381 | p02394 | u803327846 | 1453257246 | Python | Python | py | Runtime Error | 0 | 0 | 135 | W, H , x, y, r = map(int, raw_input().split())
if x + r < W and x - r < W and y +r < H and y - r < H
print "Yes"
else:
print "No" |
s352746104 | p02394 | u828153094 | 1453390103 | Python | Python | py | Runtime Error | 0 | 0 | 120 | W, H, x, y, r = map(int, input().split())
if x-r >= 0 and y-r >= 0 and x+r <= W and y+r <= H:
print 'Yes'
print 'No' |
s310491236 | p02394 | u828153094 | 1453390210 | Python | Python | py | Runtime Error | 0 | 0 | 118 | W, H, x, y, r = map(int, input.split())
if x-r >= 0 and y-r >= 0 and x+r <= W and y+r <= H:
print 'Yes'
print 'No' |
s431541895 | p02394 | u828153094 | 1453390273 | Python | Python | py | Runtime Error | 0 | 0 | 124 | W, H, x, y, r = map(int, input.split())
if x-r >= 0 and y-r >= 0 and x+r <= W and y+r <= H:
print 'Yes'
else: print 'No' |
s671073562 | p02394 | u529340193 | 1454993111 | Python | Python | py | Runtime Error | 0 | 0 | 98 | W,H,x,y,r = raw_input().split(" ")
if 0<(x+r)<W && 0<(y+r)<H:
print "Yes"
else:
print "No" |
s391415554 | p02394 | u529340193 | 1454993255 | Python | Python | py | Runtime Error | 0 | 0 | 119 | W,H,x,y,r = raw_input().split(" ")
if (x+r)<W and 0<(x-r) and 0<(y-r) and (y+r)<H:
print "Yes"
else:
print "No" |
s279352872 | p02394 | u529340193 | 1454993494 | Python | Python | py | Runtime Error | 0 | 0 | 123 | W,H,x,y,r = raw_input().split(" ")
if (x+r)<=W and 0<=(x-r) and 0<=(y-r) and (y+r)<=H:
print "Yes"
else:
print "No" |
s602138992 | p02394 | u529340193 | 1455018738 | Python | Python | py | Runtime Error | 0 | 0 | 119 | W,H,x,y,r = raw_input().split(" ")
if (x+r)<W and 0<(x-r) and 0<(y-r) and (y+r)<H:
print "Yes"
else:
print "No" |
s494150503 | p02394 | u605879293 | 1455019073 | Python | Python3 | py | Runtime Error | 0 | 0 | 371 | import numpy as np
data = input().split()
for n in range(len(data)):
data[n] = int(data[n])
W, H, x, y, r = data
theta = np.arange(0, 2 * np.pi + 0.01, 0.01)
k = True
for angle in theta:
rx = x + np.cos(angle)
ry = y + np.sin(angle)
if rx >= 0 and rx <= W and ry >= 0 and ry <= H:
pass
else:
k = False
break
if k is True:
print("Yes")
else:
print("No") |
s061136142 | p02394 | u463783070 | 1458576451 | Python | Python3 | py | Runtime Error | 0 | 0 | 99 | W,H,x,y,r = map(int, raw_input().split(' '))
if W <= x+r and H <= y+r:
print "Yes"
else:
print "No" |
s999058228 | p02394 | u463783070 | 1458577162 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | 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" |
s487980745 | p02394 | u463783070 | 1458577194 | Python | Python3 | py | Runtime Error | 0 | 0 | 109 | 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" |
s268710230 | p02394 | u463783070 | 1458577336 | Python | Python3 | py | Runtime Error | 0 | 0 | 89 | W,H,x,y,r = int(input())
if r <= x <= W-r and r <= y <= H-r:
print "Yes"
else:
print "No" |
s024645306 | p02394 | u463783070 | 1458577620 | Python | Python3 | py | Runtime Error | 0 | 0 | 93 | W,H,x,y,r = int(input())
if r <= x <= W - r and r <= y <= H - r:
print "Yes"
else:
print "No" |
s055548799 | p02394 | u463783070 | 1458577863 | Python | Python3 | 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" |
s688886959 | p02394 | u463783070 | 1458578317 | Python | Python3 | 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" |
s965216415 | p02394 | u463783070 | 1458578944 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | W,H,x,y,r = map(int, raw_input().split(' '))
print "Yes" if r <= x <= W-r and r <= y <= H-r else "No" |
s205926585 | p02394 | u463783070 | 1458578977 | 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" |
s172093688 | p02394 | u463783070 | 1458578996 | Python | Python | py | Runtime Error | 0 | 0 | 110 | 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" |
s446728186 | p02394 | u463783070 | 1458579014 | Python | Python | py | Runtime Error | 0 | 0 | 113 | 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" |
s611626049 | p02394 | u463783070 | 1458579066 | Python | Python | py | Runtime Error | 0 | 0 | 109 | 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" |
s255955481 | p02394 | u463783070 | 1458579220 | Python | Python | py | Runtime Error | 0 | 0 | 107 | 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" |
s474392141 | p02394 | u463783070 | 1458579578 | Python | Python3 | 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" |
s231349981 | p02394 | u463783070 | 1458579615 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | 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") |
s124829258 | p02394 | u463783070 | 1458579649 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | 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') |
s444438877 | p02394 | u226888928 | 1460122578 | Python | Python3 | py | Runtime Error | 0 | 0 | 81 | w,h,x,y,r=map(int,input().split())
print('Yes'if r<=x<=w-r && r<=y<=h-r else'No') |
s800783969 | p02394 | u226888928 | 1460122686 | Python | Python3 | py | Runtime Error | 0 | 0 | 73 | w,h,x,y,r=map(int,input().split())
print(['No','Yes'][r,r<=x,y<=w-r,h-r]) |
s379783734 | p02394 | u617990214 | 1461760370 | Python | Python | py | Runtime Error | 0 | 0 | 171 | n=raw_input()
k=n.split(" ")
W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
if 0<=x-r<=W:
if 0=<y-r<=H:
print "Yes"
else:
print "No"
else:
print "No" |
s606856301 | p02394 | u617990214 | 1461760731 | Python | Python | py | Runtime Error | 0 | 0 | 203 | n=raw_input()
k=n.split(" ")
W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
if 0<=x-r<=W:
if 0<=y-r<=H:
print "Yes"
else:
print "No"
else: |
s494648611 | p02394 | u617990214 | 1461761369 | Python | Python | py | Runtime Error | 0 | 0 | 204 |
n=raw_input()
k=n.split(" ")
W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
f=0
if x-r>=0:
if x+r<=W:
if y-r>=0:
if y+r<=H
print "Yes"
f=1
if f==0:
print "No" |
s238607170 | p02394 | u617990214 | 1461761430 | Python | Python | py | Runtime Error | 0 | 0 | 203 | n=raw_input()
k=n.split(" ")
W=int(k[0])
H=int(k[1])
x=int(k[2])
y=int(k[3])
r=int(k[4])
f=0
if x-r>=0:
if x+r<=W:
if y-r>=0:
if y+r<=H
print "Yes"
f=1
if f==0:
print "No" |
s439486753 | p02394 | u216235239 | 1461823167 | Python | Python3 | py | Runtime Error | 0 | 0 | 137 | W, H, x, y, r = (int(i) for i in input().split())
if x - r < 0 or x + r > W or y - r < 0 or y + r > H:
print "No"
else:
print "Yes" |
s584580607 | p02394 | u070968430 | 1464056798 | Python | Python3 | py | Runtime Error | 20 | 7664 | 236 | W, H, x, y, r = map(int, input().split())
if x == 0 or y == 0 or x < 0 or y < 0:
print(No)
elif W == x or H == y:
print("No")
elif W < x or H < y:
print("No")
elif W < x+r or H < y+r:
print("No")
else:
print("Yes") |
s224387389 | p02394 | u104931506 | 1464195516 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | W, H, x, y, r = map(int, input()split())
if r < x and x < W-r and r < y and y < H-r:
print('Yes')
else:
print('No') |
s830906758 | p02394 | u104931506 | 1464195590 | Python | Python3 | py | Runtime Error | 0 | 0 | 119 | W, H, x, y, r = map(int, input()split())
if r < x and x < W-r and r < y and y < H-r:
print('Yes')
else:
print('No') |
s103330220 | p02394 | u999470575 | 1464584343 | Python | Python3 | py | Runtime Error | 0 | 0 | 171 | w ,h ,x ,y ,r = input().split(' ')
if int(x) < int(w) - int(r):
elif int(x) > int(r):
elif int(y) < int(h) - int(r):
elif int(y) > int(r):
print("Yes")
else:
print("No") |
s698424974 | p02394 | u177370127 | 1465189953 | Python | Python3 | py | Runtime Error | 0 | 0 | 91 | if x - r < 0 or y - r < 0 or x + r > W or y + r > H:
print("No")
else:
print("Yes") |
s473625093 | p02394 | u587193722 | 1469534454 | Python | Python3 | py | Runtime Error | 0 | 0 | 150 | X, Y, x, y, r =[int(i) for i in input().split()]
if (0 <= (y-r) and (y+r) <= Y) and (0 <= (x-r) and (x+r) <= X)
print("Yes")
else:
print("No") |
s061268237 | p02394 | u085472528 | 1469595175 | Python | Python3 | py | Runtime Error | 0 | 0 | 123 | W, H, x, y, r = [int(i) for i in input().split]
if x-r < 0:
print("No")
elif x-r >= 0 and x + r < W:
print("Yes") |
s203178911 | p02394 | u085472528 | 1469595191 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | W, H, x, y, r = [int(i) for i in input().split]
if x-r < 0:
print("No")
if x-r >= 0 and x + r < W:
print("Yes") |
s573361801 | p02394 | u085472528 | 1469595819 | Python | Python3 | py | Runtime Error | 0 | 0 | 100 | W, H, x, y, r = [int(i) for i in input().split]
if x,y < 0:
print("No")
else:
print("Yes") |
s754753714 | p02394 | u085472528 | 1469595952 | Python | Python3 | py | Runtime Error | 0 | 0 | 134 | W, H, x, y, r = [int(i) for i in input().split]
if x + r <= W:
print("No")
if x - r <= W:
print("No")
else:
print("Yes") |
s837583892 | p02394 | u085472528 | 1469596186 | Python | Python3 | py | Runtime Error | 0 | 0 | 199 | W, H, x, y, r = [int(i) for i in input().split]
if x + r <= W:
print("Yes")
if y - r >= 0:
print("Yes")
if x - r >= 0:
print("Yes")
if y + r <= H:
print("Yes")
else:
print("No") |
s259434261 | p02394 | u264632995 | 1469596662 | Python | Python3 | py | Runtime Error | 0 | 0 | 210 | X,H,x,y,r =[int() for i in input().split()]
if x-r < 0 or x+r > W:
print("No")
elif y-r < 0 or y+r > H:
print("No")
elif x < r:
print("No")
elif y < r:
print("No")
else:
print("Yes") |
s338331782 | p02394 | u264632995 | 1469596792 | Python | Python3 | py | Runtime Error | 0 | 0 | 208 | X,H,x,y,r =[int() for i in input().split()]
if x-r < 0 or x+r > W:
print("No")
elif y-r <0 or y+r> H:
print("No")
elif x < r:
print("No")
elif y < r:
print("No")
else:
print("Yes") |
s650468546 | p02394 | u085472528 | 1469597154 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | W, H, x, y, r = [int(i) for i in input().split]
if x + r <= W and y - r >= 0 and x - r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s522971116 | p02394 | u671553883 | 1469597215 | Python | Python3 | py | Runtime Error | 0 | 0 | 145 | W,H,x,y,r = [int(i) for i in input().split()]
if x + r <= W and y = r >= 0 and x - r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s442530791 | p02394 | u671553883 | 1469597247 | Python | Python3 | py | Runtime Error | 0 | 0 | 149 | W, H, x, y, r = [int(i) for i in input().split()]
if x + r <= W and y = r >= 0 and x - r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s073263952 | p02394 | u382316013 | 1469597375 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | W. H, x, y, = [int(i) for i in input().aplit()]
if x + r <= W and y - r >= 0 and x -r >= 0 and y + <= H:
print("Yes")
else:
print("No") |
s178037811 | p02394 | u628732336 | 1469597394 | Python | Python3 | py | Runtime Error | 0 | 0 | 147 | W, H, x, y, r = [int(i) for i in input().split()]
if x + r <= W and y - >= 0 and x - r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s749202278 | p02394 | u628732336 | 1469597430 | Python | Python3 | py | Runtime Error | 0 | 0 | 147 | W, H, x, y, r = [int(i) for i in input().split()]
if x + r <= W and y - >= 0 and x - r >= 0 and y + r <= H:
print("Yes")
else:
print("No") |
s274452078 | p02394 | u216425054 | 1470672423 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | [W,H,x,y,r]=[int(x) for x in input().split()]
if (abs(x)=>r and abs(W-x)=>r) and (abs(y)=>r and abs(H-y)=>r):
print("Yes")
else:
print("No") |
s301110212 | p02394 | u216425054 | 1470672615 | Python | Python3 | py | Runtime Error | 0 | 0 | 112 | [W,H,x,y,r]=[int(x) for x in input().split()]
if (0=<x=<W) and (0=<y=<H):
print("Yes")
else:
print("No") |
s148401170 | p02394 | u998435601 | 1470854931 | Python | Python | py | Runtime Error | 0 | 0 | 115 | w, h, x, y, r = map(int, raw_input().split())
if x>=r and y>=r and x+r<=w an y+r<=h:
print "Yes"
else:
print "No" |
s289397039 | p02394 | u514745787 | 1471308108 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | W, H, x, y, r = [int(i) for i input().split()]
if x < 0 or y < 0:
print("No")
elif x+y <= W and y+r <= H:
print("Yes")
else:
print("No") |
s092968298 | p02394 | u514745787 | 1471308272 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | W, H, x, y, r = [int(i) for i input().split()]
if x < 0 or y < 0:
print("No")
elif x+r <= W and y+r <= H:
print("Yes")
else:
print("No") |
s376127043 | p02394 | u514745787 | 1471308280 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | W, H, x, y, r = [int(i) for i input().split()]
if x < 0 or y < 0:
print("No")
elif x+r <= W and y+r <= H:
print("Yes")
else:
print("No") |
s179499972 | p02394 | u514745787 | 1471308329 | Python | Python3 | py | Runtime Error | 0 | 0 | 148 | W, H, x, y, r = [int(i) for i input().split()]
if x < 0 or y < 0:
print("No")
elif x+r <= W and y+r <= H:
print("Yes")
else:
print("No") |
s354767620 | p02394 | u362094064 | 1473998046 | Python | Python3 | py | Runtime Error | 0 | 0 | 241 | List = list(map(int, 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") |
s560503057 | p02394 | u393305246 | 1474109564 | Python | Python | py | Runtime Error | 0 | 0 | 160 | inl=map(int, raw_input().split())
if inl[0]>=inl[2]+inl[4] and inl[2]+inl[4]>=0 and inl[1]>=inl[3]+inl[4] and inl[3]+inl[4]>=0
print "Yes"
else:
print "No" |
s815140448 | p02394 | u111053265 | 1474548351 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | W,H,x,y,r = list(map(int,input().split()))
if (r<=x<=W-r)&(r<=y<=H-y):
print('Yes')
else:
print('No') |
s787739838 | p02394 | u111053265 | 1474548448 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | W,H,x,y,r = list(map(int,input().split()))
if (r<=x<=W-r)&(r<=y<=H-y):
print('Yes')
else:
print('No') |
s505668037 | p02394 | u111053265 | 1474548714 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | W,H,x,y,r = list(map(int,input().split())
if (r<=x<=W-r)&(r<=y<=H-y):
print('Yes')
else:
print('No') |
s318067218 | p02394 | u419760455 | 1475233412 | Python | Python | py | Runtime Error | 0 | 0 | 181 | W, H, x, y, r = list(map(int, input().split()))
if x >= r and x <= (W - r):
if y >= r and y <= (H - r):
print("Yes")
else:
print("No")
else:
print("No") |
s131782043 | p02394 | u494314211 | 1475346082 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | a,b,c,d,r=map(int,input().split())
a-=r*2
b-=r*2
c-=r
d-=r
if 0<c and 0<d and 0<a and 0<b:
print("Yes")
elif:
print("No") |
s413756062 | p02394 | u672487238 | 1475852946 | Python | Python | py | Runtime Error | 0 | 0 | 232 | list = map(int, raw_input().split())
x0 = list[2] - list[4]
y0 = list[3] - list[4]
x1 = list[2] + list[4]
y1 = list[3] + list[4]
if x0 >= 0 and y0 >= 0 and x1 =< list[0] and y1 =< list[1]:
print "Yes"
else :
print "No"
|
s044128551 | p02394 | u996758922 | 1476968822 | Python | Python | py | Runtime Error | 0 | 0 | 159 | l = input().split()
l = list(map(int, l))
if l[2]-l[4] >=0 and l[3]-l[4] >=0 and l[2]+l[4] <=l[0] and l[3]+l[4] <=l[1]:
print("Yes")
else:
print("No") |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.