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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
s949067476 | p02394 | u404682284 | 1535010443 | Python | Python3 | py | Runtime Error | 0 | 0 | 216 | package main
import (
"fmt"
)
func main(){
var w, h, x, y, r int
fmt.Scan(&w, &h, &x, &y, &r)
if x + r <= W && x - r >= 0 && y + r <= H && y - r >= 0{
fmt.Printf("Yes\n")
} else {
fmt.Printf("No\n")
}
>}
|
s518389362 | p02394 | u404682284 | 1535010523 | Python | Python3 | py | Runtime Error | 0 | 0 | 221 | package main
import (
"fmt"
)
func main(){
var w, h, x, y, r int
fmt.Scan(&w, &h, &x, &y, &r)
if (x + r) <= w && (x - r) >= 0 && (y + r) <= h && (y - r) >= 0{
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
|
s608965755 | p02394 | u525366883 | 1535154610 | Python | Python | py | Runtime Error | 0 | 0 | 161 | # coding: utf-8
# Your code here!
W, H, x, y, r = map(int, raw_input().split())
if r <= x and r <= y and x+r <= W y+r <= H:
print "Yes"
else:
print "No"
|
s877149932 | p02394 | u354751877 | 1540344430 | Python | Python | py | Runtime Error | 0 | 0 | 235 | d=raw_input().split(" ")
l=list(map(int,d))
if(i[2]>0 and i[3]>0):
if(l[0]>=(l[2]+l[4])):
if(l[1]>=(l[3]+l[4])):
print "Yes"
else:
print "No"
else:
print "No"
else:
print "No"
|
s570060043 | p02394 | u184749404 | 1540558550 | Python | Python3 | py | Runtime Error | 0 | 0 | 108 | x,y,r,W,H=(int,input().split())
if x-r<0 or x+r>W:
print ("No")
elif x-r>0 and x+r<W:
print ("Yes")
|
s022204832 | p02394 | u184749404 | 1540729636 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | W,H,x,y,r,=map(int,input().split())
if x-r<0 (or) x+r>W and() y-r<0 (or) y+r>H:
print ("No")
elif x-r>=0 (and) x+r<=W and() y-r>=0 (and) y+r<=H:
print ("Yes")
|
s770204723 | p02394 | u184749404 | 1540729923 | Python | Python3 | py | Runtime Error | 0 | 0 | 167 | W,H,x,y,r,=map(int,input().split())
if (x-r<0 or x+r>W) and() (y-r<0 or y+r>H):
print ("No")
elif (x-r>=0 and x+r<=W) and() (y-r>=0 and y+r<=H):
print ("Yes")
|
s430281928 | p02394 | u316584871 | 1541036473 | Python | Python3 | py | Runtime Error | 0 | 0 | 331 | #include <stdio.h>
int main(void)
{
int W,H,x,y,r;
scanf("%d %d %d %d %d",&W,&H,&x,&y,&r);
if (x>=r && y>=r)
{
if (x+r<=W && y+r<=H)
{
printf("Yes");
}
else
{
printf("No");
}
}
else
{
printf("No");
}
return 0;
}
|
s605270847 | p02394 | u962909487 | 1545814112 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | a,b,x,y,r = map(int,input().split())
if (x+r)>w or (y+r)>h or (x-r)<0 or (y-r)<0:
print('No')
else:
print('Yes')
|
s766842277 | p02394 | u498462680 | 1546229121 | Python | Python3 | py | Runtime Error | 0 | 0 | 219 | Indata = [int(i) for i in input().split()]
W,H,x,y,r = int(i) for i in Indata
x_right = x+r
x_left = x-r
y_on = y+r
y_under = y-r
if x_right>W || x_left<0 || y_on>H || y_under<0:
print("No")
else:
print("Yes")
|
s689057285 | p02394 | u498462680 | 1546229159 | Python | Python3 | py | Runtime Error | 0 | 0 | 221 | Indata = [int(i) for i in input().split()]
W,H,x,y,r = [int(i) for i in Indata]
x_right = x+r
x_left = x-r
y_on = y+r
y_under = y-r
if x_right>W || x_left<0 || y_on>H || y_under<0:
print("No")
else:
print("Yes")
|
s639256253 | p02394 | u733357255 | 1551350441 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | W,H,x,y,r = map(int,input().split())
w,h = W-r,h=r
if 0<x<w and 0<y<h: print('Yes')
else: print('No')
|
s318919337 | p02394 | u733357255 | 1551350456 | Python | Python3 | py | Runtime Error | 0 | 0 | 105 | W,H,x,y,r = map(int,input().split())
w,h = W-r,H=r
if 0<x<w and 0<y<h: print('Yes')
else: print('No')
|
s480400712 | p02394 | u733357255 | 1551350565 | Python | Python3 | py | Runtime Error | 0 | 0 | 101 | W,H,x,y,r = map(int,input().split())
w,h = W-r,H=r
if x<w and y<h: print('Yes')
else: print('No')
|
s535270546 | p02394 | u733357255 | 1551350710 | Python | Python3 | py | Runtime Error | 0 | 0 | 118 | W,H,x,y,r = map(int,input().split())
w,h = W-r,h=r
if x<0 and w<x and y<0 and h<y: print('No')
else: print('Yes')
|
s778169620 | p02394 | u984892564 | 1551536572 | Python | Python3 | py | Runtime Error | 0 | 0 | 84 | string = input()
if x-r>0&y-r>0&x+r<W&y+r<H:
print('Yes')
else:
print('No')
|
s156315005 | p02394 | u984892564 | 1551536602 | Python | Python3 | py | Runtime Error | 0 | 0 | 88 | string = input()
if x-r=>0&y-r=>0&x+r=<W&y+r=<H:
print('Yes')
else:
print('No')
|
s113883734 | p02394 | u870970010 | 1555692327 | Python | Python | py | Runtime Error | 0 | 0 | 182 | a=input()
W=a.split()[0]
H=a.split()[1]
x=a.split()[2]
y=a.split()[3]
r=a.split()[4]
if (0 <= x <= W-r) and (0 <= y <= H-r) and (r<=x) and (r<=y):
print("Yes)
else:
print("No")
|
s172469123 | p02394 | u870970010 | 1555692419 | Python | Python | py | Runtime Error | 0 | 0 | 183 | a=input()
W=a.split()[0]
H=a.split()[1]
x=a.split()[2]
y=a.split()[3]
r=a.split()[4]
if (0 <= x <= W-r) and (0 <= y <= H-r) and (r<=x) and (r<=y):
print("Yes")
else:
print("No")
|
s394269059 | p02394 | u870970010 | 1555692432 | Python | Python | py | Runtime Error | 0 | 0 | 183 | a=input()
W=a.split()[0]
H=a.split()[1]
x=a.split()[2]
y=a.split()[3]
r=a.split()[4]
if (0 <= x <= W-r) and (0 <= y <= H-r) and (r<=x) and (r<=y):
print("No")
else:
print("Yes")
|
s923697085 | p02394 | u344890307 | 1555727833 | Python | Python3 | py | Runtime Error | 0 | 0 | 187 | def main():
W,H,x,y,r=map(int,input().split())
if W>=2*r AND H>=2*r AND W<=x+r AND H<=y+r:
print('Yes')
else:
print('No')
if __name__=='__main__':
main()
|
s783265160 | p02394 | u344890307 | 1555728316 | Python | Python3 | py | Runtime Error | 0 | 0 | 187 | def main():
W,H,x,y,r=map(int,input().split())
if x-r>=0 AND y-r>=0 AND W>=x+r and H>=y+r:
print('Yes')
else:
print('No')
if __name__=='__main__':
main()
|
s762321931 | p02394 | u525395303 | 1555911017 | Python | Python3 | py | Runtime Error | 0 | 0 | 38 | You are not allowed to see this code.
|
s812393794 | p02394 | u651717882 | 1555945611 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | W,H,x,y,r = input().split()
w = int()
H = int()
x = int()
y = int()
r = int()
if x + r <= W, y + r <= H:
print("Yes")
else:
print("No")
|
s362510031 | p02394 | u651717882 | 1555945634 | Python | Python3 | py | Runtime Error | 0 | 0 | 149 | W,H,x,y,r = input().split()
w = int(W)
H = int(H)
x = int(x)
y = int(y)
r = int(r)
if x + r <= W, y + r <= H:
print("Yes")
else:
print("No")
|
s129147139 | p02394 | u651717882 | 1555945726 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | W,H,x,y,r = input().split()
w = int()
H = int()
x = int()
y = int()
r = int()
if x + r <= W, y + r <= H:
print("Yes")
else:
print("No")
|
s671687784 | p02394 | u651717882 | 1555945777 | Python | Python3 | py | Runtime Error | 0 | 0 | 142 | W,H,x,y,r = input().split()
w = int()
H = int()
x = int()
y = int()
r = int()
if x + r < W, y + r < H:
print("Yes")
else:
print("No")
|
s367313063 | p02394 | u651717882 | 1555945800 | Python | Python3 | py | Runtime Error | 0 | 0 | 139 | W,H,x,y,r = input().split()
w = int()
H = int()
x = int()
y = int()
r = int()
if x+r <= W, y+r < H:
print("Yes")
else:
print("No")
|
s091055412 | p02394 | u651717882 | 1555945846 | Python | Python3 | py | Runtime Error | 0 | 0 | 142 | W,H,x,y,r = input().split()
w = int()
H = int()
x = int()
y = int()
r = int()
if x+r <= W and y+r < H:
print("Yes")
else:
print("No")
|
s137096318 | p02394 | u651717882 | 1555946119 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | W,H,x,y,r = input().split()
w = int()
H = int()
x = int()
y = int()
r = int()
if x+r <= W and x -r>0:
print("Yes")
else:
print("No")
|
s193451827 | p02394 | u651717882 | 1555946269 | Python | Python3 | py | Runtime Error | 0 | 0 | 177 | W,H,x,y,r = input().split()
w = int()
H = int()
x = int()
y = int()
r = int()
if x - r >= 0 and y - r >= 0 and x + r <= w and y + r <= h:
print("Yes")
else:
print("No")
|
s277525563 | p02394 | u681232780 | 1556176001 | Python | Python3 | py | Runtime Error | 0 | 0 | 121 | H,W,x,y,r = map(int,input().split())
if -r < = y <= H-r :
if -r < = x <= W-r :
print('Yes')
else :
print('No')
|
s809385976 | p02394 | u482227082 | 1556353234 | Python | Python3 | py | Runtime Error | 0 | 0 | 132 | w,h,x,y,r = map(int, input().split())
if x-r <= 0 or y-r <= 0 or x+r => w or y+r => h:
print("No")
else:
print("Yes")
|
s210733750 | p02394 | u994696641 | 1556503521 | Python | Python3 | py | Runtime Error | 0 | 0 | 95 | W,H,x,y,r = list(map(int,input().split()))
print("No" if x<r or x+r>W or y<r y+r>H else "Yes")
|
s965031499 | p02394 | u748884386 | 1556621081 | Python | Python3 | py | Runtime Error | 0 | 0 | 56 | w,h x,y,r=map(int,input().split())
if w-r>=x and h-r>=y
|
s225117111 | p02394 | u748884386 | 1556621189 | Python | Python3 | py | Runtime Error | 0 | 0 | 56 | w,h,x,y,r=map(int,input().split())
if w-r>=x and h-r>=y
|
s577226942 | p02394 | u725843728 | 1556686793 | Python | Python3 | py | Runtime Error | 0 | 0 | 115 | 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)
|
s105391220 | p02394 | u777181309 | 1556690233 | Python | Python3 | py | Runtime Error | 0 | 0 | 130 | W, H, x, y, r = map(int, input().split())
if ((2*r <= (x+r) <= W) & (2*r <= (y+r) <= H):
print('Yes')
else:
print('No')
|
s833026700 | p02394 | u003684951 | 1558932403 | Python | Python3 | py | Runtime Error | 0 | 0 | 237 | 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"
|
s108858003 | p02394 | u003684951 | 1558932807 | Python | Python3 | py | Runtime Error | 0 | 0 | 175 | list = map(int,raw_input().split())
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"
|
s481880805 | p02394 | u003684951 | 1558933092 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | W, H, x, y, = map(int,input().split())
if x-r :
print("No")
elif x + r :
print ("No")
elif y-r :
print ("No")
elif y+r :
print ("No")
else:
print ("Yes")
|
s771206122 | p02394 | u003684951 | 1558933248 | Python | Python3 | py | Runtime Error | 0 | 0 | 176 | W, H, x, y,r = map(int,input().split())
if x-r :
print("No")
elif x + r :
print ("No")
elif y-r :
print ("No")
elif y+r :
print ("No")
else:
print ("Yes"
|
s066970094 | p02394 | u483716678 | 1558935953 | Python | Python3 | py | Runtime Error | 0 | 0 | 231 | w, h , x ,y ,r = map(int,input().split())
xLongLeft = x-r
xLongRight = x + r
yLongTop = y + r
yLongBot = y - r
if((xLongLeft >= 0 and yLongBot >= 0) and (xLongRight <= w and yLongTop <= h):
print('Yes')
else:
print('No')
|
s845663434 | p02394 | u483716678 | 1558936007 | Python | Python | py | Runtime Error | 0 | 0 | 231 | w, h , x ,y ,r = map(int,input().split())
xLongLeft = x-r
xLongRight = x + r
yLongTop = y + r
yLongBot = y - r
if((xLongLeft >= 0 and yLongBot >= 0) and (xLongRight <= w and yLongTop <= h)):
print('Yes')
else:
print('No')
|
s854640440 | p02394 | u629874472 | 1559027510 | Python | Python3 | py | Runtime Error | 0 | 0 | 120 | W,H,x,y,r = mao(int,input().split())
if x-r>=0 and x+r<=W and y-r>=0 and y+r<=0:
print('Yes')
else:
print('No')
|
s979801854 | p02394 | u535719732 | 1559193895 | Python | Python3 | py | Runtime Error | 0 | 0 | 269 | num = list(map(int,input().split))
circle_px = num[2] + num[4]
circle_mx = num[2] - num[4]
circle_py = num[3] + num[4]
circle_my = num[3] - num[4]
if(circle_px <= num[0] and circle_mx >= 0 and circle_py <= num[1] and circle_py >= 0): print("Yes")
else: print("No")
|
s162759305 | p02394 | u804558166 | 1559538774 | Python | Python3 | py | Runtime Error | 0 | 0 | 110 | W, H, x, y, r=map(int, input().split())
if x>= r and x+r<=W and y>=r and y+r<=
print("Yes")
else:
print("No")
|
s030123045 | p02394 | u804558166 | 1559538839 | Python | Python3 | py | Runtime Error | 0 | 0 | 122 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <=
print("Yes")
else:
print("No")
|
s820318372 | p02394 | u804558166 | 1559538979 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H
print("Yes")
else:
print("No")
|
s102507246 | p02394 | u804558166 | 1559539003 | Python | Python3 | py | Runtime Error | 0 | 0 | 125 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H:
print("Yes")
else:
print("No")
|
s468322076 | p02394 | u804558166 | 1559539134 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H
print("Yes")
else:
print("No")# co
|
s678838643 | p02394 | u804558166 | 1559539145 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H
print("Yes")
else:
print("No")
|
s736558671 | p02394 | u804558166 | 1559539164 | Python | Python3 | py | Runtime Error | 0 | 0 | 126 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H
print("Yes")
else:
print("No")
|
s968454658 | p02394 | u804558166 | 1559539172 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H
print("Yes")
else:
print("No")
|
s619292454 | p02394 | u218784088 | 1559539257 | Python | Python3 | py | Runtime Error | 0 | 0 | 124 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H
print("Yes")
else:
print("No")
|
s625885999 | p02394 | u924938296 | 1559539296 | Python | Python3 | py | Runtime Error | 0 | 0 | 131 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H
print("Yes")
else :
print("No")
|
s281990344 | p02394 | u924938296 | 1559540027 | Python | Python3 | py | Runtime Error | 0 | 0 | 128 | W, H, x, y, r = map(int, input().split())
if x >= r and x + r <= W and y >= r and y + r <= H :
print("Yes")
else:
print("No")
|
s727659381 | p02394 | u517275798 | 1559547449 | Python | Python3 | py | Runtime Error | 0 | 0 | 140 | W, H, x, y, r = map(int, input(). split())
if 2*r >= W or 2*r >= H or x >= W or y >= H:
print(‘No’)
else
print(‘Yes’)
|
s679536998 | p02394 | u463990569 | 1405706889 | Python | Python | py | Runtime Error | 0 | 0 | 119 | w, h, x, y, r= map(int, raw_input().split())
if (w - r => x => r) and (h - r => y => r):
print 'YES'
else:
print 'NO' |
s303764905 | p02394 | u463990569 | 1405706914 | Python | Python | py | Runtime Error | 0 | 0 | 119 | w, h, x, y, r= map(int, raw_input().split())
if (w - r => x => r) and (h - r => y => r):
print 'Yes'
else:
print 'No' |
s455451756 | p02394 | u017764209 | 1416528370 | Python | Python | py | Runtime Error | 0 | 0 | 122 | w,h,x,y,z = map(int,raw_input().split())
if w-r > x and h-r > y and x > 0 and y > 0:
print "Yes"
else:
print "No" |
s828701773 | p02394 | u017764209 | 1416528625 | Python | Python | py | Runtime Error | 0 | 0 | 122 | w,h,x,y,r = map(int,raw_input().split())
if w-r > x and h-r > y and x > 0 and y > 0:
print "Yes"
else:
print "No" |
s586295822 | p02394 | u131984977 | 1422241205 | Python | Python3 | py | Runtime Error | 0 | 0 | 198 | in = input().split(' ')
W = int(in[0])
H = int(in[1])
x = int(in[2])
y = int(in[3])
r = int(in[4])
if x - r >= 0 and y - r >= 0 and x + r <= W and y + r <= H:
print('Yes')
else:
print('No') |
s657863232 | p02394 | u442346200 | 1422241304 | Python | Python3 | py | Runtime Error | 0 | 0 | 180 | i = input().split(' ')
W = int(i[0])
H = int(i[1])
x = int(i[2])
y = int(i[3])
r = int(i[4])
if x - r >= 0 and y - r >=0 and x + r <= W and y + r <= H:
print('Yes')
else('No') |
s553279344 | p02394 | u745846646 | 1422241354 | Python | Python3 | py | Runtime Error | 0 | 0 | 194 | i = iinput().split(' ')
W = int(i[0])
H = int(i[1])
x = int(i[2])
y = int(i[3])
r = int(i[4])
if x - r >= 0 and y - r >= 0 and x + r <= W and y + r <= H:
print('YES')
else:
print('NO') |
s678756491 | p02394 | u823030818 | 1422405750 | Python | Python3 | py | Runtime Error | 0 | 0 | 217 | (W,H,x,y,r) = input().rstrip().split(' ')
W = int(w)
H = int(H)
x = int(x)
y = int(y)
r = int(r)
if x -r >= 0 and y -r >= 0 x <= W and y <= H:
print('Yes")
if x +r < 0 and y +r <0 x >= W and y >= H:
print('No') |
s795588397 | p02394 | u823030818 | 1422405818 | Python | Python3 | py | Runtime Error | 0 | 0 | 219 | (W,H,x,y,r) = input().rstrip().split(' ')
W = int(w)
H = int(H)
x = int(x)
y = int(y)
r = int(r)
if x -r >= 0 and y -r >= 0 x <= W and y <= H:
print('Yes")
if x +r =< 0 and y +r =<0 x >= W and y >= H:
print('No') |
s603108448 | p02394 | u297342993 | 1422409885 | Python | Python3 | py | Runtime Error | 0 | 0 | 152 | (W, H, x, y, r) = [int(i) for i in input().rstrip().split()]
if x + r <= W and x - r >= 0 and y + r <= H and x -r >= 0:
print('Yes')
else
print('No') |
s365693451 | p02394 | u879226672 | 1423033279 | Python | Python | py | Runtime Error | 0 | 0 | 327 | W,H,x,y,r = raw_input()
W,H,x,y,r = map(int,(W,H,x,y,r))
def isXok(W,H,x,y,r):
if x-r<0 or x+r>W:
return False
else:
return True
def isYok(W,H,x,y,r):
if y-r<0 or y+r>H:
return False
else:
return True
if isXok(W,H,x,y,r) and isXok(W,H,x,y,r):
print True
else:
print False |
s386821848 | p02394 | u436720733 | 1432109584 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | 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" ) |
s161447293 | p02394 | u436720733 | 1432109703 | Python | Python3 | py | Runtime Error | 0 | 0 | 141 | 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' ) |
s816104928 | p02394 | u364762182 | 1432109949 | Python | Python3 | py | Runtime Error | 0 | 0 | 144 | W, H, x, y, r = map(int, input().split())
if x + r <= W and x - r >= 0 and y + r <= H and y - r >= 0:
printf('Yes')
else:
printf('No') |
s375547667 | p02394 | u062590758 | 1432110167 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | W,H,x,y,r=map(int,input().split())
if W-x>r&&x>r&&H-y>r&&y>r:
print('Yes')
else:
print('No') |
s624410791 | p02394 | u062590758 | 1432110295 | Python | Python3 | py | Runtime Error | 0 | 0 | 94 | W,H,x,y,r=map(int,input().split())
if W-x>r&&x>r&&H-y>r&&y>r:
print('Yes')
else:
print('No') |
s823844628 | p02394 | u747594996 | 1433950438 | Python | Python3 | py | Runtime Error | 0 | 0 | 200 | def main():
num = input().split()
w, h, x, y, r = map(int, num)
w=60 h=40 x=-20 y=-20 r=2
if abs(x+r) <= w and abs(y+r) <= h:
print('Yes')
else:
print('No')
if __name__=="__main__":
main() |
s888220913 | p02394 | u172616925 | 1434961402 | Python | Python | py | Runtime Error | 0 | 0 | 121 | W,H,x,y,r = map(int, raw_input().split())
if (r =< x =< (W - r)) & (r =< y =< (H - r)):
print "Yes"
else:
print "No" |
s383049732 | p02394 | u172616925 | 1434961580 | Python | Python | py | Runtime Error | 0 | 0 | 123 | 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" |
s494378697 | p02394 | u306530296 | 1436152727 | Python | Python3 | py | Runtime Error | 0 | 0 | 161 | (W, H, x, y, r) = [int)(i) for i in input().split()]
nums = input().split()
W = int(nums[0])
H = int(nums[1])
x = int(nums[2])
y = int(nums[3])
r = int(nums[4]) |
s992854328 | p02394 | u733449206 | 1436153407 | Python | Python3 | py | Runtime Error | 0 | 0 | 50 | (W, H, x, y, r) = [int(i) for i in input().split() |
s783231597 | p02394 | u733449206 | 1436154747 | Python | Python3 | py | Runtime Error | 0 | 0 | 160 | (W, H, x, y, r) = [int(i) for i in input().split()]
nums = input().split()
W = int(nums[0])
H = int(nums[1])
x = int(nums[2])
y = int(nums[3])
r = int(nums[4]) |
s416375000 | p02394 | u484576700 | 1436451968 | Python | Python | py | Runtime Error | 0 | 0 | 123 | a,b,c,d,e = map(int,raw_input.split())
x = c + (e * 2)
y = d + (e * 2)
if a < x and b < y:
print No
else:
print Yes |
s410008457 | p02394 | u484576700 | 1436452123 | Python | Python | py | Runtime Error | 0 | 0 | 126 | a,b,c,d,e = map(int,raw_input.split())
x = c + (e * 2)
y = d + (e * 2)
if a < x or b < y:
print "No"
else:
print "Yes" |
s735719226 | p02394 | u484576700 | 1436452182 | Python | Python | py | Runtime Error | 0 | 0 | 126 | a,b,c,d,e = map(int,raw_input.split())
x = c + (e * 2)
y = d + (e * 2)
if a < x or b < y:
print "No"
else:
print "Yes" |
s706819601 | p02394 | u386731818 | 1436504184 | Python | Python | py | Runtime Error | 0 | 0 | 245 | import sys
W = int(sys.stdin.readline())
H = int(sys.stdin.readline())
x = int(sys.stdin.readline())
y = int(sys.stdin.readline())
r = int(sys.stdin.readline())
if (r < y and y < H-r) and (r < x and x < W-r):
print 'yes'
else:
print 'no' |
s614022639 | p02394 | u386731818 | 1436504324 | Python | Python | py | Runtime Error | 0 | 0 | 248 | import sys
W = int(sys.stdin.readline())
H = int(sys.stdin.readline())
x = int(sys.stdin.readline())
y = int(sys.stdin.readline())
r = int(sys.stdin.readline())
if r < y and y < H-r
if r < x and x < W-r:
print 'yes'
else:
print 'no' |
s031330140 | p02394 | u386731818 | 1436504421 | Python | Python | py | Runtime Error | 0 | 0 | 264 | import sys
W = int(sys.stdin.readline())
H = int(sys.stdin.readline())
x = int(sys.stdin.readline())
y = int(sys.stdin.readline())
r = int(sys.stdin.readline())
if r < y and y < H-r
if r < x and x < W-r:
print 'yes'
else:
print 'no'
print 'finish' |
s079719514 | p02394 | u386731818 | 1436504694 | Python | Python | py | Runtime Error | 0 | 0 | 159 | import sys
W = input()
H = input()
x = input()
y = input()
r = input()
if r < y and y < H-r:
if r < x and x < W-r:
print 'yes'
else:
print 'no' |
s905892095 | p02394 | u386731818 | 1436505102 | Python | Python | py | Runtime Error | 0 | 0 | 160 | import sys
W = input()
H = input()
x = input()
y = input()
r = input()
if x-r < 0 or y < x+r > W:
print 'no'
else if x-r >0 and x+r < W:
print 'yes' |
s614891821 | p02394 | u386731818 | 1436505242 | Python | Python | py | Runtime Error | 0 | 0 | 153 | import sys
W = input()
H = input()
x = input()
y = input()
r = input()
if x-r < 0 or y < x+r > W:
print 'no'
elif x-r >0 and x+r < W:
print 'yes' |
s839569801 | p02394 | u386731818 | 1436505476 | Python | Python | py | Runtime Error | 0 | 0 | 153 | import sys
W = input()
H = input()
x = input()
y = input()
r = input()
if x-r < 0 or y < x+r > W:
print 'No'
elif x-r >0 and x+r < W:
print 'Yes' |
s563765269 | p02394 | u467309160 | 1437962336 | Python | Python3 | py | Runtime Error | 0 | 0 | 127 | W,H,x,y,r=map(int,raw_input().split())
if (x-r)>=0 and W>=(x+r) and (y-r)>=0 and H>=(y+r):
print "Yes"
else:
print "No" |
s092410737 | p02394 | u467309160 | 1437962390 | Python | Python3 | py | Runtime Error | 0 | 0 | 202 | while True:
(H, W) = [int(i) for i in input().split()]
if H == W == 0:
break
for a in range(H):
for b in range(W):
print('#', end='')
print()
print() |
s841271882 | p02394 | u467309160 | 1437962442 | Python | Python3 | py | Runtime Error | 0 | 0 | 202 | while True:
(H, W) = [int(i) for i in input().split()]
if H == W == 0:
break
for a in range(H):
for b in range(W):
print('#', end='')
print()
print() |
s197878000 | p02394 | u306530296 | 1439773611 | Python | Python3 | py | Runtime Error | 0 | 0 | 207 | int main(void){
int w,h,x,y,r;
scanf("%d %d %d %d %d",&w,&h,&x,&y,&r);
if(w<x+r || h<y+r || 0>x-r ||0>y-r){
printf("No\n");
}
else {
printf("Yes\n");
}
return 0;
} |
s337587884 | p02394 | u676498528 | 1439834054 | Python | Python3 | py | Runtime Error | 0 | 0 | 179 | (w, h, x, y, r) = input().sprit(' ')
w = int(w)
h = int(h)
x = int(x)
y = int(y)
r = int(r)
if 0 + r <= x <= w - r and 0 + r <= y <= h - r:
print('Yes')
else:
print('No') |
s594285859 | p02394 | u473077745 | 1439944063 | Python | Python3 | py | Runtime Error | 0 | 0 | 297 | nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
????????
if (x - r) >= 0 and (x + r) <= W:
????????if (y - r) >= 0 and (y + r) <= H:
????????????????print( "Yes")
????????else:
????????????????print( "No")
else:
????????print( "No") |
s311322901 | p02394 | u473077745 | 1439944207 | Python | Python3 | py | Runtime Error | 0 | 0 | 270 | nums = input().split()
W = int( nums[0])
H = int( nums[1])
x = int( nums[2])
y = int( nums[3])
r = int( nums[4])
????????
if (x - r) >= 0 and (x + r) <= W:
if (y - r) >= 0 and (y + r) <= H:
print("Yes")
else:
print("No")
else:
????????print("No") |
s074996662 | p02394 | u313994256 | 1442927034 | Python | Python | py | Runtime Error | 0 | 0 | 152 | X= raw_input().split()
if X[2] + X[4] < X[0]and X[2] - X[4] > 0 and X[3] + X[4] < X[1] and X[3] - X[4] > 0:
print "Yes"
else:
print "No" |
s397093397 | p02394 | u237991875 | 1443541436 | Python | Python | py | Runtime Error | 0 | 0 | 267 | numbers = []
n = raw_input()
numbers = n.split(" ")
for i in range(5):
numbers[i] = int(numbers[i])
W = numbers[0]
H = numbers[1]
x = numbers[2]
y = numbers[3]
r = numbers[4]
if x - r => 0 and y - r => 0 and x + r <= W and y + r <= H:
print "Yes"
else:
print "No" |
s863437609 | p02394 | u224288634 | 1444129371 | Python | Python | py | Runtime Error | 0 | 0 | 120 | W,H,x,y,r = map(int,raw_input().split())
if x-r >= 0 && y-r >= 0 && x+r <= W && y+r <= H :
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.