buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
def toi(a)
b = []
a.each do |n|
b << n.to_i
end
b
end
a = toi(gets.split)
if 0<a[2]-a[4]&&a[2]+a[4]<a[0]&&0<a[3]-a[4]&&a[3]+a[4]<a[1]
puts("Yes")
else
puts("No")
end | def toi(a)
b = []
a.each do |n|
b << n.to_i
end
b
end
a = toi(gets.split)
if 0<=a[2]-a[4]&&a[2]+a[4]<=a[0]&&0<=a[3]-a[4]&&a[3]+a[4]<=a[1]
puts("Yes")
else
puts("No")
end | [["-", 15, 738, 31, 738, 31, 738, 31, 738, 17, 18], ["+", 15, 738, 31, 738, 31, 738, 31, 738, 17, 19], ["-", 15, 738, 31, 738, 31, 738, 12, 738, 17, 18], ["+", 15, 738, 31, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 121, 15, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 493, 0... | 4 | 100 |
W, H, X, Y, R = gets.split.map &:to_i
C = R < X && X+R < W && R < Y && Y+R < H
puts C ? :Yes : :No | W, H, X, Y, R = gets.split.map &:to_i
C = R <= X && X+R <= W && R <= Y && Y+R <= H
puts C ? :Yes : :No | [["-", 12, 738, 31, 738, 31, 738, 31, 738, 17, 18], ["+", 12, 738, 31, 738, 31, 738, 31, 738, 17, 19], ["-", 12, 738, 31, 738, 31, 738, 12, 738, 17, 18], ["+", 12, 738, 31, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 662, 12, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 662, 12, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 493, 0... | 4 | 44 |
w,h,x,y,r=gets.split.map &:to_i
puts [x,y,w-x,h-y].min>r ?"Yes":"No" | w,h,x,y,r=gets.split.map &:to_i
puts [x,y,w-x,h-y].min<r ?"No":"Yes" | [["-", 0, 652, 3, 4, 0, 754, 15, 738, 17, 47], ["+", 0, 652, 3, 4, 0, 754, 15, 738, 17, 18], ["-", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["-", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6]] | 4 | 43 |
w, h, x, y, r = gets.chomp.split(" ").map(&:to_i)
flag_x = 0 + r < x && w - r > x
flag_y = 0 + r < y && h - r > y
if flag_x == true && flag_y == true
puts "Yes"
else
puts "No"
end | w, h, x, y, r = gets.chomp.split(" ").map(&:to_i)
flag_x = 0 + r <= x && w - r >= x
flag_y = 0 + r <= y && h - r >= y
if flag_x == true && flag_y == true
puts "Yes"
else
puts "No"
end | [["-", 0, 493, 0, 662, 12, 738, 31, 738, 17, 18], ["+", 0, 493, 0, 662, 12, 738, 31, 738, 17, 19], ["-", 0, 493, 0, 662, 12, 738, 12, 738, 17, 47], ["+", 0, 493, 0, 662, 12, 738, 12, 738, 17, 20]] | 4 | 70 |
w,h,x,y,r = gets.chomp.spliy(" ").map &:to_i
if 0 <= x-r and x+r <= w and 0 <= y-r and y+r <= h
puts "Yes"
else
puts "No"
end | w,h,x,y,r = gets.chomp.split(" ").map &:to_i
if 0 <= x-r and x+r <= w and 0 <= y-r and y+r <= h
puts "Yes"
else
puts "No"
end | [["-", 0, 493, 0, 662, 12, 652, 486, 652, 735, 22], ["+", 0, 493, 0, 662, 12, 652, 486, 652, 735, 22]] | 4 | 58 |
arr = gets.to_s.split(" ")
w = arr[0].to_i
h = arr[1].to_i
x = arr[2].to_i
y = arr[3].to_i
r = arr[4].to_i
if x > r && y > r && x < w - r && y < h - r then
puts "Yes"
else
puts "No"
end | arr = gets.to_s.split(" ")
w = arr[0].to_i
h = arr[1].to_i
x = arr[2].to_i
y = arr[3].to_i
r = arr[4].to_i
if x >= r && y >= r && x <= w - r && y <= h - r then
puts "Yes"
else
puts "No"
end
| [["-", 15, 738, 31, 738, 31, 738, 31, 738, 17, 47], ["+", 15, 738, 31, 738, 31, 738, 31, 738, 17, 20], ["-", 15, 738, 31, 738, 31, 738, 12, 738, 17, 47], ["+", 15, 738, 31, 738, 31, 738, 12, 738, 17, 20], ["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 121, 15, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 493, 0... | 4 | 83 |
W,H,x,y,r = gets.chomp.split(" ").map(&:to_i)
puts (x+r)<W && (y+r)<H && (x-r)>0 && (y-r)>0 ? "Yes" : "No" | W,H,x,y,r = gets.chomp.split(" ").map(&:to_i)
puts (x+r)<=W && (y+r)<=H && (x-r)>=0 && (y-r)>=0 ? "Yes" : "No" | [["-", 15, 738, 31, 738, 31, 738, 31, 738, 17, 18], ["+", 15, 738, 31, 738, 31, 738, 31, 738, 17, 19], ["-", 15, 738, 31, 738, 31, 738, 12, 738, 17, 18], ["+", 15, 738, 31, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 754, 15, 738, 31, 738, 12, 738, 17, 47], ["+", 0, 754, 15, 738, 31, 738, 12, 738, 17, 20], ["-", 3, 4, 0, ... | 4 | 66 |
W,H,x,y,r = gets.split.map(&:to_i)
puts (x-r)>0 && (y-r)>0 && (x+r)<W && (y+r)<H ? :Yes : :No | W,H,x,y,r = gets.split.map(&:to_i)
puts (x-r)>=0 && (y-r)>=0 && (x+r)<=W && (y+r)<=H ? :Yes : :No | [["-", 15, 738, 31, 738, 31, 738, 31, 738, 17, 47], ["+", 15, 738, 31, 738, 31, 738, 31, 738, 17, 20], ["-", 15, 738, 31, 738, 31, 738, 12, 738, 17, 47], ["+", 15, 738, 31, 738, 31, 738, 12, 738, 17, 20], ["-", 0, 754, 15, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 754, 15, 738, 31, 738, 12, 738, 17, 19], ["-", 3, 4, 0, ... | 4 | 55 |
w,h,x,y,r = gets.chomp.split.map{|x| x.to_i}
if x.between?(r,w-r)&&y.between(r,h-r)
puts "Yes"
else
puts "No"
end | w,h,x,y,r = gets.chomp.split.map{|x| x.to_i}
if x.between?(r, w-r) && y.between?(r, h-r)
puts "Yes"
else
puts"No"
end | [["-", 0, 493, 0, 121, 15, 738, 12, 652, 735, 22], ["+", 0, 493, 0, 121, 15, 738, 12, 652, 735, 22]] | 4 | 57 |
W,H,x,y,r = gets.split.map(&:to_i)
puts (x-r < 0 || x+r > W || y-r < 0 || y+r > H) ? "NO" : "YES" | W,H,x,y,r = gets.split.map(&:to_i)
puts (x-r < 0 || x+r > W || y-r < 0 || y+r > H) ? "No" : "Yes" | [["-", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["-", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6]] | 4 | 53 |
W,H,x,y,r = gets.split.map{ |x| x.to_i }
if (x + r) < W && (x - r) > 0 && (y + r) < H && (y - r) > 0
puts "Yes"
else
puts "No"
end | W,H,x,y,r = gets.split.map{ |x| x.to_i }
if (x + r) <= W && (x - r) >= 0 && (y + r) <= H && (y - r) >= 0
puts "Yes"
else
puts "No"
end | [["-", 15, 738, 31, 738, 31, 738, 31, 738, 17, 18], ["+", 15, 738, 31, 738, 31, 738, 31, 738, 17, 19], ["-", 15, 738, 31, 738, 31, 738, 12, 738, 17, 47], ["+", 15, 738, 31, 738, 31, 738, 12, 738, 17, 20], ["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 121, 15, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 493, 0... | 4 | 65 |
def incriment(w, h, x, y, r)
maxw = w - r
maxh = h - r
if (maxw >= x && r < x && maxh >= y && r < y)
return 'Yes'
else
return 'No'
end
end
input = gets.chomp
w, h, x, y, r = input.split(' ').map(&:to_i)
puts incriment(w, h, x, y, r) | def incriment(w, h, x, y, r)
maxw = w - r
maxh = h - r
if (maxw >= x && r <= x && maxh >= y && r <= y)
return 'Yes'
else
return 'No'
end
end
input = gets.chomp
w, h, x, y, r = input.split(' ').map(&:to_i)
puts incriment(w, h, x, y, r) | [["-", 0, 738, 31, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 738, 31, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 121, 15, 739, 0, 738, 12, 738, 17, 18], ["+", 0, 121, 15, 739, 0, 738, 12, 738, 17, 19]] | 4 | 94 |
w,h,x,y,r = gets.split.map(&:to_i)
if x.between?(r,w-r) && y.between?(r,w-r)
puts "Yes"
else
puts "No"
end | w,h,x,y,r = gets.split.map(&:to_i)
if x.between?(r,w-r) && y.between?(r,h-r)
puts "Yes"
else
puts "No"
end | [["-", 15, 738, 12, 652, 3, 4, 0, 738, 31, 22], ["+", 15, 738, 12, 652, 3, 4, 0, 738, 31, 22]] | 4 | 51 |
begin
input_line = []
while line = $stdin.gets.chomp
break if line == ""
input_line.push(line.split(" "))
end
rescue
end
input_line = input_line.first.map{|i| i.to_i }
if (input_line[2] < 0) || (input_line[3] < 0)
puts "No"
elsif (((input_line[2] + input_line[4]) < input_line[0]) && ((input_line[3] + ... | begin
input_line = []
while line = $stdin.gets.chomp
break if line == ""
input_line.push(line.split(" "))
end
rescue
end
input_line = input_line.first.map{|i| i.to_i }
if (input_line[2] < 0) || (input_line[3] < 0)
puts "No"
elsif (((input_line[2] + input_line[4]) <= input_line[0]) && ((input_line[3] +... | [["-", 31, 739, 0, 738, 31, 739, 0, 738, 17, 18], ["+", 31, 739, 0, 738, 31, 739, 0, 738, 17, 19], ["-", 31, 739, 0, 738, 12, 739, 0, 738, 17, 18], ["+", 31, 739, 0, 738, 12, 739, 0, 738, 17, 19], ["-", 15, 738, 31, 738, 12, 739, 0, 738, 17, 47], ["+", 15, 738, 31, 738, 12, 739, 0, 738, 17, 20], ["-", 75, 759, 15, 738,... | 4 | 154 |
# Here your code !
w,h,x,y,r = gets.split(' ').map(&:to_i)
puts (r <= x && x < w-r) && (r <= y && y < h-r) ? "Yes" : "No" | # Here your code !
w,h,x,y,r = gets.split(' ').map(&:to_i)
puts (r <= x && x <= w-r) && (r <= y && y <= h-r) ? "Yes" : "No" | [["-", 15, 738, 31, 739, 0, 738, 12, 738, 17, 18], ["+", 15, 738, 31, 739, 0, 738, 12, 738, 17, 19], ["-", 15, 738, 12, 739, 0, 738, 12, 738, 17, 18], ["+", 15, 738, 12, 739, 0, 738, 12, 738, 17, 19]] | 4 | 57 |
w,h,x,y,r = gets.split.map!(&:to_i)
w_max_limit = w - r
w_min_limit = r
h_max_limit = h - r
h_min_limit = r
if x < w_min_limit || x > w_max_limit || y <h_min_limit || y > h_max_limit then
puts "Yes"
else
puts "No"
end | w,h,x,y,r = gets.split.map!(&:to_i)
w_max_limit = w - r
w_min_limit = r
h_max_limit = h - r
h_min_limit = r
if x < w_min_limit || x > w_max_limit || y <h_min_limit || y > h_max_limit then
puts "No"
else
puts "Yes"
end | [["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]] | 4 | 62 |
tmp = gets.chomp.split.map(&:to_i)
w = tmp[0]
h = tmp[1]
x = tmp[2]
y = tmp[3]
r = tmp[4]
if w>x+r && h>y+r && 0<y-r && 0<x-r
puts "Yes"
else
puts "No"
end | tmp = gets.chomp.split.map(&:to_i)
w = tmp[0]
h = tmp[1]
x = tmp[2]
y = tmp[3]
r = tmp[4]
if w>=x+r && h>=y+r && 0<=y-r && 0<=x-r
puts "Yes"
else
puts "No"
end | [["-", 15, 738, 31, 738, 31, 738, 31, 738, 17, 47], ["+", 15, 738, 31, 738, 31, 738, 31, 738, 17, 20], ["-", 15, 738, 31, 738, 31, 738, 12, 738, 17, 47], ["+", 15, 738, 31, 738, 31, 738, 12, 738, 17, 20], ["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 121, 15, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 493, 0... | 4 | 77 |
w,h,x,y,r =gets.chomp.split(' ').map{|x|x.to_i}
if r<x&&x<(w-r)&&r<y&&y<(h-r)
puts "Yes"
else
puts "No"
end | w,h,x,y,r =gets.chomp.split(' ').map{|x|x.to_i}
if r<=x&&x<=(w-r)&&r<=y&&y<=(h-r)
puts "Yes"
else
puts "No"
end | [["-", 15, 738, 31, 738, 31, 738, 31, 738, 17, 18], ["+", 15, 738, 31, 738, 31, 738, 31, 738, 17, 19], ["-", 15, 738, 31, 738, 31, 738, 12, 738, 17, 18], ["+", 15, 738, 31, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 121, 15, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 493, 0... | 4 | 64 |
w,h,x,y,r=gets.split.map &:to_i
puts (x-r<0||x+r>w||y-r<0||y+r>h) ? 'Yes' : 'No' | w,h,x,y,r=gets.split.map &:to_i
puts (x-r<0||x+r>w||y-r<0||y+r>h) ? 'No' : 'Yes' | [["-", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["-", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6]] | 4 | 51 |
w,h,x,y,r=gets.split.map &:to_i
puts x-r<0||x+r>w||y-r<0||y+r>h ? 'Yes' : 'No' | w,h,x,y,r=gets.split.map &:to_i
puts x-r<0||x+r>w||y-r<0||y+r>h ? 'No' : 'Yes' | [["-", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 64, 557, 0, 6], ["-", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 754, 75, 557, 0, 6]] | 4 | 49 |
w,h,x,y,r=gets.split.map &:to_i
puts x-r<0||x+r>w||y-r<0||y+r>h ? :Yes : :No | w,h,x,y,r=gets.split.map &:to_i
puts x-r<0||x+r>w||y-r<0||y+r>h ?:No : :Yes | [["-", 0, 493, 0, 652, 3, 4, 0, 754, 64, 753], ["-", 0, 493, 0, 652, 3, 4, 0, 754, 0, 102], ["+", 0, 493, 0, 652, 3, 4, 0, 754, 0, 102], ["+", 0, 493, 0, 652, 3, 4, 0, 754, 75, 753]] | 4 | 45 |
w,h,x,y,r=gets.split.map &:to_i
puts [x,w-x,y,h-y].min<r ?:NO: :Yes | w,h,x,y,r=gets.split.map &:to_i
puts [x,w-x,y,h-y].min<r ?:No: :Yes | [["-", 0, 493, 0, 652, 3, 4, 0, 754, 64, 753], ["+", 0, 493, 0, 652, 3, 4, 0, 754, 64, 753]] | 4 | 39 |
w, h, x, y, r = gets.chomp.split.map(&:to_i)
if x + r < w && x - r > 0 && y + r < h && y - r > 0
puts "Yes"
else
puts "No"
end | w, h, x, y, r = gets.chomp.split.map(&:to_i)
if x + r <= w && x - r >= 0 && y + r <= h && y - r >= 0
puts "Yes"
else
puts "No"
end | [["-", 15, 738, 31, 738, 31, 738, 31, 738, 17, 18], ["+", 15, 738, 31, 738, 31, 738, 31, 738, 17, 19], ["-", 15, 738, 31, 738, 31, 738, 12, 738, 17, 47], ["+", 15, 738, 31, 738, 31, 738, 12, 738, 17, 20], ["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 121, 15, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 493, 0... | 4 | 55 |
w,h,x,y,r = gets.chomp.split(" ").map(&:to_i)
if (r <= x && x <= w - r) || (r <= y || y <= h - r)
puts "Yes"
else
puts "No"
end | w,h,x,y,r = gets.chomp.split(" ").map(&:to_i)
if r <= x && x <= w - r && r <= y && y <= h - r
puts "Yes"
else
puts "No"
end | [["-", 0, 493, 0, 121, 15, 738, 31, 739, 0, 24], ["-", 0, 493, 0, 121, 15, 738, 31, 739, 0, 25], ["-", 36, 36, 0, 493, 0, 121, 15, 738, 17, 106], ["-", 0, 493, 0, 121, 15, 738, 12, 739, 0, 24], ["+", 0, 493, 0, 121, 15, 738, 31, 738, 17, 98], ["-", 0, 121, 15, 738, 12, 739, 0, 738, 17, 106], ["+", 36, 36, 0, 493, 0, 12... | 4 | 60 |
W,H,x,y,r = gets.split.map(&:to_i)
puts ((x+r<W && x-r>0)&&(y+r<H && y-r>0)) ? "Yes" : "No" | W,H,x,y,r = gets.split.map(&:to_i)
puts ((x+r<=W && x-r>=0)&&(y+r<=H && y-r>=0)) ? "Yes" : "No" | [["-", 0, 738, 31, 739, 0, 738, 31, 738, 17, 18], ["+", 0, 738, 31, 739, 0, 738, 31, 738, 17, 19], ["-", 0, 738, 31, 739, 0, 738, 12, 738, 17, 47], ["+", 0, 738, 31, 739, 0, 738, 12, 738, 17, 20], ["-", 0, 738, 12, 739, 0, 738, 31, 738, 17, 18], ["+", 0, 738, 12, 739, 0, 738, 31, 738, 17, 19], ["-", 0, 738, 12, 739, 0,... | 4 | 57 |
str=gets.chomp
num=str.split
W=num[0].to_i
H=num[1].to_i
x=num[2].to_i
y=num[3].to_i
r=num[4].to_i
if x-r>=0 && y-r>=0 && x+r<W && y+r<H then
puts "Yes"
else
puts "No"
end | str=gets.chomp
num=str.split
W=num[0].to_i
H=num[1].to_i
x=num[2].to_i
y=num[3].to_i
r=num[4].to_i
if x-r>=0 && y-r>=0 && x+r<=W && y+r<=H then
puts "Yes"
else
puts "No"
end | [["-", 0, 121, 15, 738, 31, 738, 12, 738, 17, 18], ["+", 0, 121, 15, 738, 31, 738, 12, 738, 17, 19], ["-", 0, 493, 0, 121, 15, 738, 12, 738, 17, 18], ["+", 0, 493, 0, 121, 15, 738, 12, 738, 17, 19]] | 4 | 85 |
W,H,x,y,r = gets.split(" ").map(&:to_i)
answer =
if r <= x && x <= W - x && r <= y && y <= H - r then
"Yes"
else
"No"
end
puts answer | W,H,x,y,r = gets.split(" ").map(&:to_i)
answer =
if r <= x && x <= W - r && r <= y && y <= H - r then
"Yes"
else
"No"
end
puts answer | [["-", 31, 738, 31, 738, 12, 738, 12, 738, 12, 22], ["+", 31, 738, 31, 738, 12, 738, 12, 738, 12, 22]] | 4 | 57 |
#include <iostream>
using namespace std;
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && x + r < W && y - r > 0 && y + r < H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W = 0, H = 0, x = 0, y = 0, r = 0;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 91 |
#include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main() {
// input: w, h, x, y ,r
// -100 <= x, y <= 100
// 0 < w, h , r < 100
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
// ??????????????????????????¶
if (((x - r) < 0) || ((y - r) < 0) || ((x + r... | #include <algorithm>
#include <cstdio>
#include <iostream>
#include <vector>
using namespace std;
int main() {
// input: w, h, x, y ,r
// -100 <= x, y <= 100
// 0 < w, h , r < 100
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
// ??????????????????????????¶
if (((x - r) < 0) || ((y - r) < 0) || ((x + r... | [["-", 51, 16, 31, 16, 12, 23, 0, 16, 12, 22], ["+", 51, 16, 31, 16, 12, 23, 0, 16, 12, 22], ["-", 15, 339, 51, 16, 12, 23, 0, 16, 12, 22], ["+", 15, 339, 51, 16, 12, 23, 0, 16, 12, 22]] | 1 | 104 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x < (W - r) && x > r && y > r && y < (H - r)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x <= (W - r) && x >= r && y >= r && y <= (H - r)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 85 |
#include <algorithm>
#include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r > 0 && y - r > 0 && x + r < w && y + r < h)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && x + r <= w && y + r <= h)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 80 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int tmp;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H) {
cout << "NO" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int tmp;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 88 |
#include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x + r >= 0) && (y + r >= 0) && (x + r <= w) && (y + r <= h)) {
printf("Yes\n");
} else {
printf("No\n");
}
} | #include <stdio.h>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if ((x - r >= 0) && (y - r >= 0) && (x + r <= w) && (y + r <= h)) {
printf("Yes\n");
} else {
printf("No\n");
}
} | [["-", 31, 16, 31, 23, 0, 16, 31, 16, 17, 72], ["+", 31, 16, 31, 23, 0, 16, 31, 16, 17, 33], ["-", 31, 16, 12, 23, 0, 16, 31, 16, 17, 72], ["+", 31, 16, 12, 23, 0, 16, 31, 16, 17, 33]] | 1 | 96 |
#include "iostream"
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
W -= r;
H -= r;
if (x > r && y > r && x < W && y < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include "iostream"
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
W -= r;
H -= r;
if (x >= r && y >= r && x <= W && y <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 87 |
#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && x + r < W) {
if (y... | #include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <queue>
#include <stack>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W) {
if ... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 113 |
#include <stdio.h>
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (w > x + r && 0 < x - r && h > y + r && 0 < y - r)
printf("Yes\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main(void) {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (w >= x + r && 0 <= x - r && h >= y + r && 0 <= y - r)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 88 |
#include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; ++i)
#define FOR(i, a, b) for (int i = a; i... | #include <algorithm>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
#define REP(i, n) for (int i = 0; i < n; ++i)
#define FOR(i, a, b) for (int i = a; i... | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 174 |
#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) < W && (y + r) < H && x >= 0 && y >= 0 && x >= r && y >= r) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #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) <= W && (y + r) <= H && x >= 0 && y >= 0 && x >= r && y >= r) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["-", 31, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 31, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 19]] | 1 | 100 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 || x + r > W || y - r > 0 || y + r > H)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18]] | 1 | 81 |
#include <cstdio>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (0 <= x - r && 0 <= y - r) {
if (x + r <= w && y + r <= h) {
printf("Yes\n");
} else {
printf("No\n");
}
}
} | #include <cstdio>
int main() {
int w, h, x, y, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (0 <= x - r && 0 <= y - r && x + r <= w && y + r <= h) {
printf("Yes\n");
} else {
printf("No\n");
}
} | [["-", 0, 14, 8, 9, 0, 57, 15, 339, 0, 25], ["-", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["-", 8, 9, 0, 57, 64, 9, 0, 57, 0, 121], ["-", 0, 57, 64, 9, 0, 57, 15, 339, 0, 24], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 98], ["-", 64, 9, 0, 57, 75, 76, 0, 9, 0, 46]] | 1 | 92 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r, a, b;
cin >> W >> H >> x >> y >> r;
a = y + r;
b = x + r;
if (y <= r || x <= r || a >= H || b >= W) {
cout << "No" << '\n';
} else {
cout << "Yes" << '\n';
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r, a, b;
cin >> W >> H >> x >> y >> r;
a = y + r;
b = x + r;
if (y < r || x < r || a > H || b > W) {
cout << "No" << '\n';
} else {
cout << "Yes" << '\n';
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 97 |
#include <iostream>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r < x && x < W - r && r < y && y < H - r)
cout << "Yes\n";
else
cout << "No\n";
} | #include <iostream>
using namespace std;
int main() {
cin.tie(0);
ios::sync_with_stdio(false);
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && x <= W - r && r <= y && y <= H - r)
cout << "Yes\n";
else
cout << "No\n";
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 86 |
#include <iostream>
using namespace std;
main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || y - r < 0 || x + r > W || y + r || H) {
cout << "No";
} else
cout << "Yes";
cout << endl;
} | #include <iostream>
using namespace std;
main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || y - r < 0 || x + r > W || y + r > H) {
cout << "No";
} else {
cout << "Yes";
}
cout << endl;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46]] | 1 | 79 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= (x + r) && (x + r) <= W && 0 <= (y + r) && (y + r) <= H) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (0 <= (x - r) && (x + r) <= W && 0 <= (y - r) && (y + r) <= H) {
cout << "Yes\n";
} else {
cout << "No\n";
}
return 0;
} | [["-", 31, 16, 31, 16, 12, 23, 0, 16, 17, 72], ["+", 31, 16, 31, 16, 12, 23, 0, 16, 17, 33], ["-", 31, 16, 12, 16, 12, 23, 0, 16, 17, 72], ["+", 31, 16, 12, 16, 12, 23, 0, 16, 17, 33]] | 1 | 91 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r >= W || x + y >= H || x - r < 0 || y - r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r > W || r + y > H || x - r < 0 || y - r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["-", 31, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["+", 31, 16, 31, 16, 12, 16, 31, 16, 31, 22], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47]] | 1 | 82 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x <= W - r && r <= y <= H - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && x <= W - r && r <= y && y <= H - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 98], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 73 |
#include <iostream>
using std::cin;
using std::cout;
using std::endl;
void check(int W, int H, int x, int y, int r) {
if (x - r <= 0 || x + r >= W || y - r <= 0 || y + r >= H) {
cout << "No" << endl;
return;
}
cout << "Yes" << endl;
return;
}
int main(void) {
int W;
int H;
int x;
int y;
int... | #include <iostream>
using std::cin;
using std::cout;
using std::endl;
void check(int W, int H, int x, int y, int r) {
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H) {
cout << "No" << endl;
return;
}
cout << "Yes" << endl;
return;
}
int main(void) {
int W;
int H;
int x;
int y;
int r;
... | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 135 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && x + r < W && y - r > 0 && y + r < H)
cout << "Yes\n";
else
cout << "No\n";
cin >> x;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
cout << "Yes\n";
else
cout << "No\n";
cin >> x;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 80 |
#include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (W > x + r && x - r >= 0 && H >= y + r && y - r >= 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (W >= x + r && x - r >= 0 && H >= y + r && y - r >= 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20]] | 1 | 91 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r < x && (x + r) < W) {
if (r < y && (y + r) < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && (x + r) <= W) {
if (r <= y && (y + r) <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 100 |
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x >= r && y >= r && x >= (W - r) && y <= (H - r)) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
} | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x >= r && y >= r && x <= (W - r) && y <= (H - r)) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
} | [["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19]] | 1 | 83 |
#include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", W, H, x, y, r);
if (0 <= x - r && W >= x + r && 0 <= y - r && H >= y + r) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (0 <= x - r && W >= x + r && 0 <= y - r && H >= y + r) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["+", 0, 1, 0, 2, 3, 4, 0, 66, 17, 67]] | 1 | 86 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r >= 0 && x + r <= W) {
if (y + r >= 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W) {
if (y - r >= 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} else
cout << "No" << endl;
return 0;
} | [["-", 15, 339, 51, 16, 31, 16, 31, 16, 17, 72], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 33]] | 1 | 98 |
#include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
bool xcondition = x > r && x < W - r;
bool ycondition = y > r && y < H - r;
if (xcondition && ycondition) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
bool xcondition = x >= r && x <= W - r;
bool ycondition = y >= r && y <= H - r;
if (xcondition && ycondition) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 0, 43, 49, 50, 51, 16, 31, 16, 17, 47], ["+", 0, 43, 49, 50, 51, 16, 31, 16, 17, 20], ["-", 0, 43, 49, 50, 51, 16, 12, 16, 17, 18], ["+", 0, 43, 49, 50, 51, 16, 12, 16, 17, 19]] | 1 | 92 |
#include <cstdio>
int main() {
int W, H, x, y, r;
scanf("%d", &W);
scanf("%d", &H);
scanf("%d", &x);
scanf("%d", &y);
scanf("%d", &r);
if (x <= r || y <= r || x + r >= W || y + r >= H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
} | #include <cstdio>
int main() {
int W, H, x, y, r;
scanf("%d", &W);
scanf("%d", &H);
scanf("%d", &x);
scanf("%d", &y);
scanf("%d", &r);
if (x < r || y < r || x + r > W || y + r > H) {
printf("No\n");
} else {
printf("Yes\n");
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 115 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r) > 0 && (x + r) < W && (y - r) > 0 && (y + r) < H) {
cout << "Yes" << endl;
return 0;
}
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r) >= 0 && (x + r) <= W && (y - r) >= 0 && (y + r) <= H) {
cout << "Yes" << endl;
return 0;
}
cout << "No" << endl;
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 93 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int safe_min_x, safe_max_x, safe_min_y, safe_max_y;
cin >> W >> H >> x >> y >> r;
safe_min_x = r;
safe_max_x = W - r;
safe_min_y = r;
safe_max_y = H - r;
if ((safe_min_x <= x && x <= safe_max_x) && (safe_min_y <= y && safe_max_y)... | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
int safe_min_x, safe_max_x, safe_min_y, safe_max_y;
cin >> W >> H >> x >> y >> r;
safe_min_x = r;
safe_max_x = W - r;
safe_min_y = r;
safe_max_y = H - r;
if ((safe_min_x <= x && x <= safe_max_x) &&
(safe_min_y <= y && y <= ... | [["+", 51, 16, 12, 23, 0, 16, 12, 16, 31, 22], ["+", 51, 16, 12, 23, 0, 16, 12, 16, 17, 19]] | 1 | 108 |
#include <algorithm>
#include <iostream>
#define N 5
using namespace std;
void output_array_int(int *, int, char);
void input_array_int(int *, int);
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W > x + r && x - r > 0 && H > y + r && y - r > 0) {
cout << "Yes" << endl;
} else {
c... | #include <algorithm>
#include <iostream>
#define N 5
using namespace std;
void output_array_int(int *, int, char);
void input_array_int(int *, int);
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W >= x + r && x - r >= 0 && H >= y + r && y - r >= 0) {
cout << "Yes" << endl;
} else {
... | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 213 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int W;
int H;
int x;
int y;
int r;
int main(void) {
cin >> W >> H >> x >> y >> r;
if (W >= x + r && 0 <= x - r && H >= y + r && 0 <= y - r)
cout << "yes" << endl;
else
cout << "No" << endl;
... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int W;
int H;
int x;
int y;
int r;
int main(void) {
cin >> W >> H >> x >> y >> r;
if (W >= x + r && 0 <= x - r && H >= y + r && 0 <= y - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 91 |
#include <iostream>
using namespace std;
//????????¢??????????????\??£?????????????????????
int main(int argc, char *argv[]) {
int W, H, x, y, r;
bool isOut;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 && x + r > W && y - r < 0 && y + r > H) {
cout << "No\n";
} else {
cout << "Yes\n";
}
} | #include <iostream>
using namespace std;
//????????¢??????????????\??£?????????????????????
int main(int argc, char *argv[]) {
int W, H, x, y, r;
bool isOut;
cin >> W >> H >> x >> y >> r;
if (x - r < 0 || x + r > W || y - r < 0 || y + r > H) {
cout << "No\n";
} else {
cout << "Yes\n";
}
} | [["-", 15, 339, 51, 16, 31, 16, 31, 16, 17, 98], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 106], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 106], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106]] | 1 | 92 |
#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 >= 0 && y - r >= 0 && x + r <= w && y - r <= h) {
puts("Yes");
} else {
puts("No");
}
return 0;
} | #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 >= 0 && y - r >= 0 && x + r <= w && y + r <= h) {
puts("Yes");
} else {
puts("No");
}
return 0;
} | [["-", 15, 339, 51, 16, 12, 16, 31, 16, 17, 33], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 17, 72]] | 1 | 90 |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x >= r && x <= w - r && y >= r && y <= w - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
} |
#include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x >= r && x <= w - r && y >= r && y <= h - r)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 31, 22]] | 1 | 78 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r > x || r > y || r + x > W || r + y > H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r > x || r > y || r + x > W || r + y > H) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 78 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x <= W - r && r <= y <= H - r) {
string s = "Yes";
cout << s << endl;
} else {
string s = "No";
cout << s << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && x <= W - r && r <= y && y <= H - r) {
string s = "Yes";
cout << s << endl;
} else {
string s = "No";
cout << s << endl;
}
} | [["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 98], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 84 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
int s;
bool a = x > r && x < W - r && y > r && y < H - r;
if (a) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
int s;
bool a = x >= r && x <= W - r && y >= r && y <= H - r;
if (a) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 49, 50, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 49, 50, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 43, 49, 50, 51, 16, 12, 16, ... | 1 | 89 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x <= W - r && r <= y <= H - r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (r <= x && x <= W - r && r <= y && y <= H - r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 98], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 74 |
#include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
if (0 < x - r && x + r < W && 0 < y - r && y + r < H) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
} | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 91 |
#include <iostream>
using namespace std;
int main() {
int W;
int H;
int x;
int y;
int r;
cin >> W >> H >> x >> y >> r;
if (x > r && (W - r) > x && y > r && (H - r) > y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W;
int H;
int x;
int y;
int r;
cin >> W >> H >> x >> y >> r;
if (x >= r && (W - r) >= x && y >= r && (H - r) >= y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 86 |
#include <stdio.h>
int main() {
int x, y, w, h, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r >= 0 && y - r >= 0 && x - r <= w && y - r <= h) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int x, y, w, h, r;
scanf("%d %d %d %d %d", &w, &h, &x, &y, &r);
if (x - r >= 0 && y - r >= 0 && x + r <= w && y + r <= h) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["-", 51, 16, 31, 16, 12, 16, 31, 16, 17, 33], ["+", 51, 16, 31, 16, 12, 16, 31, 16, 17, 72], ["-", 15, 339, 51, 16, 12, 16, 31, 16, 17, 33], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 17, 72]] | 1 | 91 |
#include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x > r && x < w - r && y > r && y < h - r && r < w / 2 && r < h / 2)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x >= r && x <= w - r && y >= r && y <= h - r && r <= w / 2 && r <= h / 2)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 31, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 31, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16,... | 1 | 89 |
#include <cmath>
#include <iostream>
#include <string>
int main(int argc, char *argv[]) {
int w, h, x, y, r;
std::cin >> w >> h >> x >> y >> r;
std::string judge = "Yes";
if (x - r < 0)
judge = "No";
else if (x + r >= w)
judge = "No";
else if (y - r < 0)
judge = "No";
else if (y + r >= h)
... | #include <cmath>
#include <iostream>
#include <string>
int main(int argc, char *argv[]) {
int w, h, x, y, r;
std::cin >> w >> h >> x >> y >> r;
std::string judge = "Yes";
if (x - r < 0)
judge = "No";
else if (x + r > w)
judge = "No";
else if (y - r < 0)
judge = "No";
else if (y + r > h)
... | [["-", 75, 76, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 75, 76, 0, 57, 15, 339, 51, 16, 17, 47]] | 1 | 126 |
#include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (W > x + r && H > y + r && x - r > 0 && y - r > 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (W >= x + r && H >= y + r && x - r >= 0 && y - r >= 0) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 91 |
#include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
// 0 <= x -r, x + r <= W
// 0 <= y -r, y + r <= H
bool b = true;
if (r > x)
b = false;
if (r > y)
b = false;
if (x + r > W)
b = false;
if (y + r > H)
b = false;
if (b)
std::cout << "YES" << ... | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
// 0 <= x -r, x + r <= W
// 0 <= y -r, y + r <= H
bool b = true;
if (r > x)
b = false;
if (r > y)
b = false;
if (x + r > W)
b = false;
if (y + r > H)
b = false;
if (b)
std::cout << "Yes" << ... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 116 |
#include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (W > x + r && H > y + r) {
if (0 < x - r && 0 < y - r)
printf("Yes\n");
else
printf("No\n");
} else
printf("No\n");
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
if (W >= x + r && H >= y + r) {
if (0 <= x - r && 0 <= y - r)
printf("Yes\n");
else
printf("No\n");
} else
printf("No\n");
return 0;
} | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 16,... | 1 | 100 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r == 0 && y - r == 0 && W - r >= x && H - r >= y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && W - r >= x && H - r >= y) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 60], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 60], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20]] | 1 | 85 |
#include <stdio.h>
int main() {
int W, H, x, y, r, a;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H)
printf("Yes\n");
if (x + r < 0 || y + r < 0 || x + r > W || y + r > H)
printf("No\n");
return 0;
} | #include <stdio.h>
int main() {
int W, H, x, y, r, a;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H)
printf("Yes\n");
if (x - r < 0 || y - r < 0 || x + r > W || y + r > H)
printf("No\n");
return 0;
} | [["-", 31, 16, 31, 16, 31, 16, 31, 16, 17, 72], ["+", 31, 16, 31, 16, 31, 16, 31, 16, 17, 33], ["-", 31, 16, 31, 16, 12, 16, 31, 16, 17, 72], ["+", 31, 16, 31, 16, 12, 16, 31, 16, 17, 33]] | 1 | 114 |
#include <iostream>
int main() {
int w, h, x, y, r;
std::cin >> w;
std::cin >> h;
std::cin >> x;
std::cin >> y;
std::cin >> r;
if (w - r >= x >= r && h - r >= y >= r) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
} | #include <iostream>
int main() {
int w, h, x, y, r;
std::cin >> w;
std::cin >> h;
std::cin >> x;
std::cin >> y;
std::cin >> r;
if (w - r >= x && x >= r && h - r >= y && y >= r) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
} | [["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 98], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 31, 22], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 12, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 96 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r && 0 > x - r && H < y + r && 0 > y - r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || 0 > x - r || H < y + r || 0 > y - r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [["-", 15, 339, 51, 16, 31, 16, 31, 16, 17, 98], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 106], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 106], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106]] | 1 | 85 |
#include <iostream>
using namespace std;
int main() {
int x;
int y;
int z;
int a;
int b;
cin >> x >> y >> z >> a >> b;
if (x < z + b) {
cout << "No\n";
} else if (0 > z + b) {
cout << "No\n";
} else if (y < a + b) {
cout << "No\n";
} else if (0 > y + b) {
cout << "No\n";
} else {
... | #include <iostream>
using namespace std;
int main() {
int x;
int y;
int z;
int a;
int b;
cin >> x >> y >> z >> a >> b;
if (x < z + b) {
cout << "No\n";
} else if (0 > z - b) {
cout << "No\n";
} else if (y < a + b) {
cout << "No\n";
} else if (0 > a - b) {
cout << "No\n";
} else {
... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 72], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 33], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 31, 22]] | 1 | 123 |
#include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
if ((0 < x - r && x + r < W) && (0 < y - r && y + r < H)) {
std::cout << "Yes"
<< "\n";
} else {
std::cout << "No"
<< "\n";
}
} | #include <iostream>
int main() {
int W, H, x, y, r;
std::cin >> W >> H >> x >> y >> r;
if ((0 <= x - r && x + r <= W) && (0 <= y - r && y + r <= H)) {
std::cout << "Yes"
<< "\n";
} else {
std::cout << "No"
<< "\n";
}
} | [["-", 51, 16, 31, 23, 0, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 23, 0, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 23, 0, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 23, 0, 16, 12, 16, 17, 19], ["-", 51, 16, 12, 23, 0, 16, 31, 16, 17, 18], ["+", 51, 16, 12, 23, 0, 16, 31, 16, 17, 19], ["-", 51, 16, 12, 23, 0, 16, 12, 16, 17, 18... | 1 | 92 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((0 > x + r || x + r > W) || (0 > y + r || y + r > H))
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((0 > x - r || x + r > W) || (0 > y - r || y + r > H))
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [["-", 31, 23, 0, 16, 31, 16, 12, 16, 17, 72], ["+", 31, 23, 0, 16, 31, 16, 12, 16, 17, 33], ["-", 12, 23, 0, 16, 31, 16, 12, 16, 17, 72], ["+", 12, 23, 0, 16, 31, 16, 12, 16, 17, 33]] | 1 | 85 |
#include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || H < y + r || 0 > x + r || 0 > y + r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || H < y + r || 0 > x - r || 0 > y - r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [["-", 51, 16, 31, 16, 12, 16, 12, 16, 17, 72], ["+", 51, 16, 31, 16, 12, 16, 12, 16, 17, 33], ["-", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 33]] | 1 | 87 |
#include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x > r && y > r && x + r < W && y + r < H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x >= r && y >= r && x + r <= W && y + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 79 |
#include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W;
cin >> H;
cin >> x;
cin >> y;
cin >> r;
if (x - r > 0 && x + r < W && y - r > 0 && y + r < H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W;
cin >> H;
cin >> x;
cin >> y;
cin >> r;
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 91 |
#include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r > w || x + r < 0) {
cout << "No" << endl;
} else if (y + r > h || y + r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r > w || x - r < 0) {
cout << "No" << endl;
} else if (y + r > h || y - r < 0) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [["-", 15, 339, 51, 16, 12, 16, 31, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 17, 33]] | 1 | 98 |
#include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r <= W && y + r <= H && x + r >= 0 && y + r >= 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main(void) {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x + r <= W && y + r <= H && x - r >= 0 && y - r >= 0)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 51, 16, 31, 16, 12, 16, 31, 16, 17, 72], ["+", 51, 16, 31, 16, 12, 16, 31, 16, 17, 33], ["-", 15, 339, 51, 16, 12, 16, 31, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 17, 33]] | 1 | 82 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define shosu(n) setprecision(n)
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && x + r <= W && x + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
retur... | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
#define shosu(n) setprecision(n)
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && y - r >= 0 && x + r <= W && y + r <= H)
cout << "Yes" << endl;
else
cout << "No" << endl;
retur... | [["-", 15, 339, 51, 16, 12, 16, 31, 16, 31, 22], ["+", 15, 339, 51, 16, 12, 16, 31, 16, 31, 22]] | 1 | 95 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r < 0 && x + r < w && y - r < 0 && y + r < h)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x - r < 0 || x + r > w || y - r < 0 || y + r > h)
cout << "No" << endl;
else
cout << "Yes" << endl;
return 0;
} | [["-", 15, 339, 51, 16, 31, 16, 31, 16, 17, 98], ["+", 15, 339, 51, 16, 31, 16, 31, 16, 17, 106], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 98], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 106], ["-", 8, 9, 0, 57, 15, 339, 51, 1... | 1 | 81 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r < w && x - r > 0 && y + r < h && y - r > 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x + r <= w && x - r >= 0 && y + r <= h && y - r >= 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
retur... | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 93 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || H < y + r || 0 > x + r || 0 > y + r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W < x + r || H < y + r || 0 > x - r || 0 > y - r) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
} | [["-", 51, 16, 31, 16, 12, 16, 12, 16, 17, 72], ["+", 51, 16, 31, 16, 12, 16, 12, 16, 17, 33], ["-", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 33]] | 1 | 82 |
#include <iostream>
#include <string>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r > 0 && x + r < W && y - r > 0 && y + r < H)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
} | #include <iostream>
#include <string>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H)
cout << "Yes" << endl;
else {
cout << "No" << endl;
}
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 82 |
#include <stdio.h>
int main() {
int R, L, F, B, W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
R = x - r;
L = x + r;
F = y + r;
B = y - r;
if (0 < R && L < W && 0 < B && F < H)
printf("Yes\n");
else
printf("No\n");
return 0;
} | #include <stdio.h>
int main() {
int R, L, F, B, W, H, x, y, r;
scanf("%d %d %d %d %d", &W, &H, &x, &y, &r);
R = x - r;
L = x + r;
F = y + r;
B = y - r;
if (0 <= R && L <= W && 0 <= B && F <= H)
printf("Yes\n");
else
printf("No\n");
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 111 |
#include <iostream>
using namespace std;
int main() {
int W, X, x, y, r, w, h, a, b;
cin >> W >> X >> x >> y >> r;
w = x + r;
h = y + r;
a = x - r;
b = y - r;
if (w < W && a >= 0 && h < X && b >= 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, X, x, y, r, w, h, a, b;
cin >> W >> X >> x >> y >> r;
w = x + r;
h = y + r;
a = x - r;
b = y - r;
if (w <= W && a >= 0 && h <= X && b >= 0) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19]] | 1 | 109 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W >= x + r && H >= y + r && 0 <= x + r && 0 <= y + r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (W >= x + r && H >= y + r && 0 <= x - r && 0 <= y - r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
} | [["-", 51, 16, 31, 16, 12, 16, 12, 16, 17, 72], ["+", 51, 16, 31, 16, 12, 16, 12, 16, 17, 33], ["-", 15, 339, 51, 16, 12, 16, 12, 16, 17, 72], ["+", 15, 339, 51, 16, 12, 16, 12, 16, 17, 33]] | 1 | 82 |
#include <cstdio>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 < x - r && x + r < W && 0 < y - r && y + r < H)
puts("Yes");
else
puts("No");
return 0;
} | #include <cstdio>
int main() {
int W, H, x, y, r;
scanf("%d%d%d%d%d", &W, &H, &x, &y, &r);
if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H)
puts("Yes");
else
puts("No");
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 85 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r >= 0 && x + r <= W) || (y - r >= 0 && y + r <= H)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if ((x - r >= 0 && x + r <= W) && (y - r >= 0 && y + r <= H)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 106], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 98]] | 1 | 89 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x > 0 || y > 0) {
cout << "No" << endl;
return 0;
}
if (x + r <= W && x - r >= 0 && y + r <= H && y - r >= 0) {
cout << "Yes" << endl;
return 0;
} else {
cout << "No" << endl;
... | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W >> H >> x >> y >> r;
if (x < 0 || y < 0) {
cout << "No" << endl;
return 0;
}
if (x + r <= W && x - r >= 0 && y + r <= H && y - r >= 0) {
cout << "Yes" << endl;
return 0;
} else {
cout << "No" << endl;
... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 18]] | 1 | 114 |
#include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x > r && x < w - r && y > r && y < h - r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
};
return 0;
} | #include <iostream>
using namespace std;
int main() {
int w, h, x, y, r;
cin >> w >> h >> x >> y >> r;
if (x >= r && x <= w - r && y >= r && y <= h - r) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
};
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 51, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 339, 51, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 339, 51, 16, 12, 1... | 1 | 82 |
#include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W;
cin >> H;
cin >> x;
cin >> y;
cin >> r;
if (x - r >= 0 && x + r >= W && y - r >= 0 && y + r >= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | #include <iostream>
using namespace std;
int main() {
int W, H, x, y, r;
cin >> W;
cin >> H;
cin >> x;
cin >> y;
cin >> r;
if (x - r >= 0 && x + r <= W && y - r >= 0 && y + r <= H) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
return 0;
} | [["-", 51, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["+", 51, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 19]] | 1 | 93 |
#include <iostream>
using namespace std;
int H, W, x, y, r;
int main() {
string Ans = "No";
cin >> W >> H >> x >> y >> r;
if (r <= W && r <= H) {
if ((r < x) && (x < W - r)) {
if ((r < y) && (y < H - r)) {
Ans = "Yes";
}
}
}
cout << Ans << endl;
return 0;
} | #include <iostream>
using namespace std;
int H, W, x, y, r;
int main() {
string Ans = "No";
cin >> W >> H >> x >> y >> r;
if (r <= W && r <= H) {
if ((r <= x) && (x <= W - r)) {
if ((r <= y) && (y <= H - r)) {
Ans = "Yes";
}
}
}
cout << Ans << endl;
return 0;
} | [["-", 15, 339, 51, 16, 31, 23, 0, 16, 17, 18], ["+", 15, 339, 51, 16, 31, 23, 0, 16, 17, 19], ["-", 15, 339, 51, 16, 12, 23, 0, 16, 17, 18], ["+", 15, 339, 51, 16, 12, 23, 0, 16, 17, 19]] | 1 | 105 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.