s_id string | p_id string | u_id string | date string | language string | original_language string | filename_ext string | status string | cpu_time string | memory string | code_size string | code string | error string | stdout string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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") | File "/tmp/tmprgol4tks/tmp90iqoz36.py", line 2
if(x-r<0 || x+r>W || y-r<0 || y+r>H):
^
SyntaxError: invalid syntax
| |
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" | File "/tmp/tmpe44xq9nf/tmpn8dxuylu.py", line 10
print "Yes"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmpura4x9iv/tmpwc01jtl8.py", line 10
print "Yes"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmpm56w16y_/tmp4a0sph2t.py", line 12
print "Yes"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmpkrc9e1ll/tmpxmeixy5a.py", line 12
print "Yes"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmpf_vjbwj2/tmp7rmuw058.py", line 12
print "Yes"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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)) | Traceback (most recent call last):
File "/tmp/tmpaswead9r/tmpx4c36yf7.py", line 3, in <module>
a,b,c = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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') | File "/tmp/tmp_wngqdqw/tmp3avmoi28.py", line 8
elif(x =< 0):
^
SyntaxError: invalid syntax
| |
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') | Traceback (most recent call last):
File "/tmp/tmpq5rw_yj0/tmp80ej_xwr.py", line 1, in <module>
W,H,x,y,r = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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') | Traceback (most recent call last):
File "/tmp/tmpluz061ld/tmpfmo7g80b.py", line 1, in <module>
W,H,x,y,r = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpnf025k9v/tmptu4ryyym.py", line 3, in <module>
[Width, Height, x, y, r] = [int(x) for x in sys.stdin.readline().stlip()]
^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'stlip'. Did you mean: 'strip'?
| |
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" | File "/tmp/tmp2kohwxpb/tmp5ydwtdlb.py", line 4
print "No"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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") | Traceback (most recent call last):
File "/tmp/tmpel31dhmw/tmpn9upskb9.py", line 1, in <module>
W, H, w, y, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpzbhadkqm/tmpiyf4ry49.py", line 1, in <module>
W, H, w, y, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpa3m6sp0_/tmpfu9xua33.py", line 1, in <module>
W, H, w, y, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpg5g4o53o/tmporeu2y88.py", line 1, in <module>
W, H, w, y, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmps6dmp0zh/tmp4xn_ffbi.py", line 1, in <module>
w, h, w, y, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmp8g0uh_1t/tmp4ui0zre1.py", line 1, in <module>
w, h, w, y, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpdr77bk86/tmpvfbstrsf.py", line 1, in <module>
w, h, x, w, y, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | File "/tmp/tmp5pj0heg6/tmpam4z1i6x.py", line 12
if !(abs(x - r) < abs(w) && abs(x + r) < abs(w)):
^
SyntaxError: invalid syntax
| |
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") | File "/tmp/tmpt8km4h4z/tmpg69shwk5.py", line 12
if !(abs(x - r) < abs(w) and abs(x + r) < abs(w)):
^
SyntaxError: invalid syntax
| |
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()
| Traceback (most recent call last):
File "/tmp/tmpambw996v/tmpipd2ng4q.py", line 3, in <module>
list_1 = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
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) | Traceback (most recent call last):
File "/tmp/tmp4z3zinh0/tmpeb9003gu.py", line 15, in <module>
width = int(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | File "/tmp/tmpdrk98gqh/tmp30hnlaao.py", line 9
print("YES")
^
IndentationError: expected an indented block after 'if' statement on line 8
| |
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") | File "/tmp/tmpqmwat7dq/tmpu48z8yin.py", line 9
print("YES")
^
IndentationError: expected an indented block after 'if' statement on line 8
| |
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") | Traceback (most recent call last):
File "/tmp/tmpqeu4jeyo/tmp7svffjwb.py", line 1, in <module>
ciar = list(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmph26q_hui/tmpv3592g9u.py", line 1, in <module>
ciar = list(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpfo9g6eyu/tmpke8j0dcs.py", line 1, in <module>
ciar = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmp9f4wlgy_/tmperq7e72b.py", line 1, in <module>
ciar = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpzyjafkem/tmp54dt6s29.py", line 1, in <module>
ciar = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpbbtwjpiu/tmpffugo8r0.py", line 1, in <module>
ciar = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmp2nrjwjfy/tmplwdxpy31.py", line 1, in <module>
ciar = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpn16e60go/tmp97p6qab9.py", line 1, in <module>
ciar = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmp6hbdb91a/tmp8ftrwi9g.py", line 1, in <module>
ciar = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpnck108t6/tmptiii0pjm.py", line 1, in <module>
ciar = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
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") | File "/tmp/tmpkwhfobjd/tmpccai2zo3.py", line 10
else
^
SyntaxError: expected ':'
| |
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" | File "/tmp/tmphdp4e0v1/tmp8ytoprku.py", line 3
print "Yes"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmpqn27j8ib/tmpsz2wo5hy.py", line 3
print "Yes"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmpwt67sxjs/tmpw5clfsop.py", line 3
if (r <= x <= W-r) AND (r < y < H-r):
^^^
SyntaxError: invalid syntax
| |
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') | Traceback (most recent call last):
File "/tmp/tmpdildu8y9/tmpv8b_bvuc.py", line 24, in <module>
(w, h, x, y, r) = input().split(' ')
^^^^^^^
EOFError: EOF when reading a line
| |
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') | Traceback (most recent call last):
File "/tmp/tmp2ary71ih/tmpx6owax35.py", line 26, in <module>
(w, h, x, y, r) = input('input 5 numbers: ').split(' ')
^^^^^^^^^^^^^^^^^^^^^^^^^^
EOFError: EOF when reading a line
| input 5 numbers: |
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') | Traceback (most recent call last):
File "/tmp/tmp49bfu4_b/tmpg3njull5.py", line 20, in <module>
(w, h, x, y, r) = input().split(' ')
^^^^^^^
EOFError: EOF when reading a line
| |
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') | Traceback (most recent call last):
File "/tmp/tmpjrs7sw_9/tmp5ur2azuf.py", line 19, in <module>
(w, h, x, y, r) = input().split(' ')
^^^^^^^
EOFError: EOF when reading a line
| |
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')
~ | File "/tmp/tmpukh1l8hr/tmpeymgha7a.py", line 32
~
^
SyntaxError: invalid syntax
| |
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') | File "/tmp/tmpfbtc8dsp/tmp5pwjzoc5.py", line 25
if not (x + r < 0) and not (y + r < 0) and
^
SyntaxError: invalid syntax
| |
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') | File "/tmp/tmpijt4psco/tmpocv9fulb.py", line 10
if r <= x and x <= W-r and
^
SyntaxError: invalid syntax
| |
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') | File "/tmp/tmp2aqisgon/tmpt_83lxxp.py", line 10
if r <= x and x <= W-r and
^
SyntaxError: invalid syntax
| |
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") | Traceback (most recent call last):
File "/tmp/tmph0ooirri/tmp0qrys7c9.py", line 2, in <module>
W, H, x, y, r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | File "/tmp/tmp6k4dfnnu/tmphjv8xfb2.py", line 2
if x - r >= 0 and x + r =< W:
^
SyntaxError: invalid syntax
| |
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") | File "/tmp/tmp4wdy9b15/tmp4bahj03h.py", line 2
if x - r >= 0 and x + r =< W:
^
SyntaxError: invalid syntax
| |
s999299547 | p02394 | u685534465 | 1491812891 | Python | Python3 | py | Runtime Error | 0 | 0 | 9 | 5 4 2 4 1 | File "/tmp/tmppji3z4ns/tmp7wjqmyi2.py", line 1
5 4 2 4 1
^
SyntaxError: invalid syntax
| |
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" | File "/tmp/tmpqjvwk7p6/tmpqvvspm5h.py", line 2
x+r<W&&r<x&&r<y&&y+r<H?print "Yes":print "No"
^
SyntaxError: invalid syntax
| |
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" | File "/tmp/tmpqadxljha/tmpew95e0tk.py", line 2
print x+r<W&&r<x&&r<y&&y+r<H?"Yes":"No"
^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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") | File "/tmp/tmpkfj7jyuw/tmprn0athto.py", line 2
if x+r<W&&r<x&&r<y&&y+r<H:
^
SyntaxError: invalid syntax
| |
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") | File "/tmp/tmp8c3nqzjx/tmpv5axunn7.py", line 2
if (x+r<W&&r<x&&r<y&&y+r<H):
^
SyntaxError: invalid syntax
| |
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") | File "/tmp/tmpb06vx03x/tmpuy991r0k.py", line 2
if (x+r<W&&r<x&&r<y&&y+r<H):
^
SyntaxError: invalid syntax
| |
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") | File "/tmp/tmpg62xjrw1/tmpeormqg2v.py", line 2
if !(x+r>W or r>x or r>y or y+r>H):
^
SyntaxError: invalid syntax
| |
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") | File "/tmp/tmp5f_4uswa/tmp6m_1tdmm.py", line 9
if(x-r=>0 and x+r<=w and y-r=>0 and y+r<=h):
^
SyntaxError: invalid syntax
| |
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") | Traceback (most recent call last):
File "/tmp/tmprwtqc50a/tmpnrbziwg6.py", line 1, in <module>
a = input().split(" ")
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpn9o26vhl/tmpz1q7poou.py", line 7, in <module>
y = int([3])
^^^^^^^^
TypeError: int() argument must be a string, a bytes-like object or a real number, not 'list'
| |
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" | File "/tmp/tmpwhyt1cdy/tmpx8ewbccy.py", line 9
print "No"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmprtcyxcq1/tmp4rxgxnto.py", line 9
print "No"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmp5k92_7zo/tmp05t1lgxv.py", line 9
print "No"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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") | Traceback (most recent call last):
File "/tmp/tmpbpdez1ve/tmpjfviz63t.py", line 1, in <module>
list = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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") | Traceback (most recent call last):
File "/tmp/tmpwlz8e4xo/tmp3algyvzy.py", line 1, in <module>
list = map(int,raw_input().split())
^^^^^^^^^
NameError: name 'raw_input' is not defined
| |
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") | Traceback (most recent call last):
File "/tmp/tmp5kh67l76/tmpzh11cv51.py", line 3, in <module>
a.append(input())
^^^^^^^
EOFError: EOF when reading a line
| |
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') | Traceback (most recent call last):
File "/tmp/tmpne3h7jiz/tmp__5wfbs1.py", line 1, in <module>
W,H,x,y,r = (int(i) for i in input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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') | Traceback (most recent call last):
File "/tmp/tmpntjjky0g/tmpahyzlfsq.py", line 1, in <module>
W,H,x,y,r = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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') | Traceback (most recent call last):
File "/tmp/tmpahsy7s0r/tmp2zul2w73.py", line 1, in <module>
W,H,x,y,r = map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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) | Traceback (most recent call last):
File "/tmp/tmpbbqvpbi0/tmpge_2j_co.py", line 2, in <module>
W,H,x,y,r = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpf_ihyk9p/tmp4ofraxdt.py", line 1, in <module>
W,H,x,y,z = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpc903eukx/tmp6qeki8jn.py", line 1, in <module>
W,H,x,y,z = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmp_h8j8bm2/tmpyruchjix.py", line 1, in <module>
W,H,x,y,z = map(int, input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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) | Traceback (most recent call last):
File "/tmp/tmpcdprj18k/tmpxc5s_gqi.py", line 1, in <module>
W,H,x,y,r=map(int,input().split())
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmp3wj5fzkt/tmpf8uypxmc.py", line 1, in <module>
x = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmph25opq5t/tmpdjcoyva_.py", line 1, in <module>
i = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmplgnmkgj6/tmpmytfesw6.py", line 1, in <module>
x = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | Traceback (most recent call last):
File "/tmp/tmpy8863rmp/tmpiyzv8p3e.py", line 1, in <module>
x = input().split()
^^^^^^^
EOFError: EOF when reading a line
| |
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") | File "/tmp/tmp7o8d4n77/tmp6n6gy_tz.py", line 9
else W < H <r:
^
SyntaxError: expected ':'
| |
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") | File "/tmp/tmpwwtn5mqm/tmpyz6ybh72.py", line 1
W, H, x, y, r = map(int, input().split()))
^
SyntaxError: unmatched ')'
| |
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" | File "/tmp/tmp11pdspox/tmpi8i9e8gf.py", line 9
print "No"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmpl9nb3mip/tmpif1d0cbf.py", line 9
print "No"
^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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" | File "/tmp/tmpedwo9_ar/tmpxxbwreac.py", line 8
if x-r < 0:
IndentationError: unexpected indent
| |
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") | File "/tmp/tmps7h8kbmg/tmpde4vlyqk.py", line 3
if (W-r>)=x:
^
SyntaxError: invalid syntax
| |
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") | File "/tmp/tmpty6q8rfi/tmpgras3eud.py", line 3
if (W-r>)=x:
^
SyntaxError: invalid syntax
| |
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" | File "/tmp/tmp6ps0oggb/tmp5he66x4r.py", line 3
print "Yes" if (W>=(x+r)) and (H>=(y+r)) else "No"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
| |
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) | File "/tmp/tmpxcyiz2ql/tmp6zoivs67.py", line 2
print('YES'if 0 <= x- r <= x + r and 0 <= y-r <= y+r,'NO'else)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
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') | File "/tmp/tmpjlrx6cs2/tmp5t6hpqj9.py", line 2
print('YES'if 0 <= x- r <= x + r and 0 <= y-r <= y+r,else'NO')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
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') | File "/tmp/tmphs1cl5tj/tmplo0bcxgw.py", line 2
print('YES'if 0 <= x - r <= x + r and 0 <= y - r <= y + r,else'NO')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
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') | File "/tmp/tmpybnj2bz5/tmpzonzhxkj.py", line 2
if 0 <= x - r or x - r < x + r
IndentationError: unexpected indent
| |
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') | File "/tmp/tmpeudq6sm_/tmpo_a8plnw.py", line 2
if 0 <= x - r or x - r < x + r:
IndentationError: unexpected indent
| |
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') | Traceback (most recent call last):
File "/tmp/tmp5v7ceuox/tmpxmro0h06.py", line 1, in <module>
W,H,r,x,y = list(map(int,input().split()))
^^^^^^^
EOFError: EOF when reading a line
| |
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') | File "/tmp/tmp964mci__/tmptrd_nhex.py", line 2
if 0 <= r - x <= r + x = W and 0 <= y - r <= y + r: = H
^
SyntaxError: invalid syntax
| |
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') | File "/tmp/tmpvtnb352i/tmpqx4cb1fx.py", line 2
if 0 <= r - x <= r + x = W and 0 <= y - r <= y + r = H:
^
SyntaxError: invalid syntax
| |
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') | File "/tmp/tmpe9avl9av/tmpncwvusoz.py", line 2
if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H:
^
SyntaxError: invalid syntax
| |
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') | File "/tmp/tmpkf8aief2/tmpvym9dgfo.py", line 2
if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H:
IndentationError: unexpected indent
| |
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') | File "/tmp/tmpenlphy88/tmp4qztk69n.py", line 2
if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H:
IndentationError: unexpected indent
| |
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') | File "/tmp/tmpi_uzfuu6/tmp8y7yihu1.py", line 2
if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H:
^
SyntaxError: invalid syntax
| |
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') | File "/tmp/tmpmx1yfnx4/tmpvxyhwm_y.py", line 2
print('Yes' if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H else 'No')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
| |
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') | File "/tmp/tmpvrefor5p/tmprpkw1m4n.py", line 2
print('Yes' if 0 <= x - r <= x + r = W and 0 <= y - r <= y + r = H else 'No')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: expected 'else' after 'if' expression
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.