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
#include <bits/stdc++.h> using namespace std; int main() { int x, n = 1; while (1) { cin >> x; if (x == 0) break; cout << "Case " << n << ":" << x << endl; n++; } }
#include <bits/stdc++.h> using namespace std; int main() { int x, n = 1; while (1) { cin >> x; if (x == 0) break; cout << "Case " << n << ": " << x << endl; n++; } }
[["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
56
#include <iostream> using namespace std; int main(void) { int test[10000]; for (int i = 0; i < 10000; i++) { cin >> test[i]; if (test[i] == 0) { break; } cout << "Case" << " " << i << " : " << test[i] << std::endl; } }
#include <iostream> using namespace std; int main(void) { int test[10000]; for (int i = 1; i <= 10000; i++) { cin >> test[i]; if (test[i] == 0) { break; } cout << "Case" << " " << i << ": " << test[i] << std::endl; } }
[["-", 8, 9, 0, 7, 10, 43, 49, 50, 51, 13], ["+", 8, 9, 0, 7, 10, 43, 49, 50, 51, 13], ["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
80
#include <iostream> using namespace std; int main() { int in; int i = 1; while (true) { cin >> in; if (in == 0) { break; } cout << "Case " << i << ':' << in << endl; i++; } return 0; }
#include <iostream> using namespace std; int main() { int in; int i = 1; while (true) { cin >> in; if (in == 0) { break; } cout << "Case " << i << ": " << in << endl; i++; } return 0; }
[["-", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["-", 0, 16, 31, 16, 31, 16, 12, 103, 0, 125], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 62], ["+", 0, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
62
#include <cstdio> int main() { int x; for (int i = 1;; i++) { scanf("%d", &x); if (x != 0) { printf("case %d: %d\n", i, x); } else { break; } } return 0; }
#include <cstdio> int main() { int x; for (int i = 1;; i++) { scanf("%d", &x); if (x != 0) { printf("Case %d: %d\n", i, x); } else { break; } } return 0; }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
62
#include <algorithm> #include <iostream> using namespace std; int main() { int i; i = 0; int x; while (1) { cin >> x; if (x == 0) { break; } cout << "Case" << " " << i << ":" << " " << x << endl; i += 1; } }
#include <algorithm> #include <iostream> using namespace std; int main() { int i; i = 1; int x; while (1) { cin >> x; if (x == 0) { break; } cout << "Case" << " " << i << ":" << " " << x << endl; i += 1; } }
[["-", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 14, 8, 9, 0, 1, 0, 11, 12, 13]]
1
72
#include <bits/stdc++.h> using namespace std; int main() { int i = 1; while (1) { int x; scanf("%d", &x); if (x == 0) break; printf("Case %d: %d\n", x, i); i += 1; } return 0; }
#include <bits/stdc++.h> using namespace std; int main() { int i = 1; while (1) { int x; scanf("%d", &x); if (x == 0) break; printf("Case %d: %d\n", i, x); i += 1; } return 0; }
[["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22], ["-", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 21], ["+", 8, 9, 0, 1, 0, 2, 3, 4, 0, 22]]
1
63
#include <stdio.h> int main() { int count = 0; while (1) { int a = 0; scanf("%d", &a); if (a == 0) { break; } printf("Case %d: %d\n", count, a); } return 0; }
#include <stdio.h> int main() { int count = 1; while (1) { int a = 0; scanf("%d", &a); if (a == 0) { break; } printf("Case %d: %d\n", count++, a); } return 0; }
[["-", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 0, 1, 0, 2, 3, 4, 0, 27, 17, 29]]
1
59
#include <stdio.h> int main(void) { int i, x; for (i = 1;; i++) { scanf("%5d", &x); if (x == 0) { break; } if (x > 1 && 10000 < x) { break; } printf("Case%d;%d\n", i, x); } }
#include <stdio.h> int main(void) { int i, x; for (i = 1;; i++) { scanf("%5d", &x); if (x == 0) { break; } if (x > 1 && 10000 < x) { break; } printf("Case %d: %d\n", i, x); } }
[["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]]
1
72
#include <iostream> using namespace std; int main() { int i = 1, x; cin >> x; while (x != 0) { cout << "Case " << i << ": " << x; i++; cin >> x; } return 0; }
#include <iostream> using namespace std; int main() { int i = 1, x; cin >> x; while (x != 0) { cout << "Case " << i << ": " << x << endl; i++; cin >> x; } return 0; }
[["+", 0, 52, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 12, 22]]
1
55
#include <iostream> int main() { int i, x; while (1) { std::cin >> x; if (x == 0) break; std::cout << "Case " << i << ": " << x << std::endl; } return 0; }
#include <iostream> int main() { int i = 1, x; while (1) { std::cin >> x; if (x == 0) break; std::cout << "Case " << i << ": " << x << std::endl; i++; } return 0; }
[["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 13], ["+", 8, 9, 0, 52, 8, 9, 0, 1, 0, 35], ["+", 0, 52, 8, 9, 0, 1, 0, 27, 28, 22], ["+", 0, 52, 8, 9, 0, 1, 0, 27, 17, 29]]
1
56
#include <iostream> using namespace std; int a; int b; int main() { for (b = 1; b == 0; b++) { cin >> a; if (a == 0) break; cout << "Case " << b << ": " << a << endl; } return 0; }
#include <iostream> using namespace std; int a; int b; int main() { for (b = 1; b > 0; b++) { cin >> a; if (a == 0) break; cout << "Case " << b << ": " << a << endl; } return 0; }
[["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 60], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 47]]
1
64
#include <cstdio> int main() { int x = 1, i = 1; while (true) { scanf("%d", &x); if (x == 0) break; printf("Case %d: %d", i, x); i = i + 1; } return 0; }
#include <cstdio> int main() { int x = 1, i = 1; while (true) { scanf("%d", &x); if (x == 0) break; printf("Case %d: %d\n", i, x); i = i + 1; } return 0; }
[["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 44]]
1
61
#include <algorithm> #include <iostream> using namespace std; int main() { int suuji; int i = 1; while (true) { cin >> suuji; if (suuji == 0) { break; } cout << "Case " << i << ": " << suuji; i++; } return 0; }
#include <algorithm> #include <iostream> using namespace std; int main() { int suuji; int i = 1; while (true) { cin >> suuji; if (suuji == 0) break; cout << "Case " << i << ": " << suuji << endl; i++; } return 0; }
[["-", 0, 52, 8, 9, 0, 57, 64, 9, 0, 45], ["-", 0, 52, 8, 9, 0, 57, 64, 9, 0, 46], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 12, 22]]
1
62
#include <iostream> using namespace std; int main() { int i = 1, x = 0; for (;;) { cin >> x; if (x == 0) break; cout << "Case " << i << ": " << x << endl; } return 0; }
#include <iostream> using namespace std; int main() { int i = 1, x = 0; for (;; i++) { cin >> x; if (x == 0) break; cout << "Case " << i << ": " << x << endl; } return 0; }
[["+", 0, 14, 8, 9, 0, 7, 26, 27, 28, 22], ["+", 0, 14, 8, 9, 0, 7, 26, 27, 17, 29]]
1
59
#include <iostream> using namespace std; int main() { int i = 1, in; while (cin >> in) { if (in == 0) break; cout << "case " << i << ": " << in << endl; ++i; } return 0; }
#include <iostream> using namespace std; int main() { int i = 1, in; while (cin >> in) { if (in == 0) break; cout << "Case " << i << ": " << in << endl; ++i; } return 0; }
[["-", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 31, 16, 31, 16, 31, 16, 12, 5, 0, 6]]
1
57
// Print Test Cases #include <iostream> using namespace std; int main() { int i = 1; int x; while (1) { cin >> x; if (x == 0) break; cout << "Case " << i << ": " << x; i++; } }
// Print Test Cases #include <iostream> using namespace std; int main() { int i = 1; int x; while (1) { cin >> x; if (x == 0) break; cout << "Case " << i << ": " << x << endl; i++; } }
[["+", 0, 52, 8, 9, 0, 1, 0, 16, 17, 151], ["+", 0, 52, 8, 9, 0, 1, 0, 16, 12, 22]]
1
56
#include <iostream> using namespace std; int main() { int x; for (int i = 0; cin >> x, x; i++) { cout << "Case " << i << ": " << x << endl; } }
#include <iostream> using namespace std; int main() { int x; for (int i = 1; cin >> x, x; i++) { cout << "Case " << i << ": " << x << endl; } }
[["-", 8, 9, 0, 7, 10, 43, 49, 50, 51, 13], ["+", 8, 9, 0, 7, 10, 43, 49, 50, 51, 13]]
1
49
# r = STDIN.gets.to_i # r = STDIN.gets.split(" ").map(&:to_i) # puts "#{r*r*Math::PI.round(6)} #{2*r*Math::PI.round(6)}" w,h,x,y,r = *STDIN.gets.split(" ").map(&:to_i) #w,h,x,y,r = *%w(5 4 2 2 1).map(&:to_i) #w,h,x,y,r = *%w( 5 4 2 4 1 ).map(&:to_i) if (r < x && (x+r) < w) && (r < y && (y+r) < h) p...
# r = STDIN.gets.to_i # r = STDIN.gets.split(" ").map(&:to_i) # puts "#{r*r*Math::PI.round(6)} #{2*r*Math::PI.round(6)}" w,h,x,y,r = *STDIN.gets.split(" ").map(&:to_i) #w,h,x,y,r = *%w(5 4 2 2 1).map(&:to_i) #w,h,x,y,r = *%w( 2 2 1 1 1).map(&:to_i) if (r <= x && (x+r) <= w) && (r <= y && (y+r) <= h) ...
[["-", 15, 738, 31, 739, 0, 738, 31, 738, 17, 18], ["+", 15, 738, 31, 739, 0, 738, 31, 738, 17, 19], ["-", 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, 31, 738, 17, 18], ["+", 15, 738, 12, 739, 0, 738, 31, 738, 17, 19], ["-", 15, 738, 12, ...
4
70
inputs = gets.strip.split(' ') inputs.map!{|i| i.to_i} W = inputs[0] H = inputs[1] x = inputs[2] y = inputs[3] r = inputs[4] width_in = ((x + r) < W) && ((x - r) > 0) height_in = ((y + r) < H) && ((y - r) > 0) if width_in && height_in puts "Yes" else puts "No" end
inputs = gets.strip.split(' ') inputs.map!{|i| i.to_i} W = inputs[0] H = inputs[1] x = inputs[2] y = inputs[3] r = inputs[4] width_in = ((x + r) <= W) && ((x - r) >= 0) height_in = ((y + r) <= H) && ((y - r) >= 0) if width_in && height_in puts "Yes" else puts "No" end
[["-", 0, 662, 12, 738, 31, 739, 0, 738, 17, 18], ["+", 0, 662, 12, 738, 31, 739, 0, 738, 17, 19], ["-", 0, 662, 12, 738, 12, 739, 0, 738, 17, 47], ["+", 0, 662, 12, 738, 12, 739, 0, 738, 17, 20]]
4
109
W, H, x, y, r = gets.split.map(&:to_i) if (y+r >= H || y-r <= 0) || (x+r >= W || x-r <= 0) puts 'No' else puts 'Yes' end
W, H, x, y, r = gets.split.map(&:to_i) if (y+r > H || y-r < 0) || (x+r > W || x-r < 0) puts 'No' else puts 'Yes' end
[["-", 15, 738, 31, 739, 0, 738, 31, 738, 17, 20], ["+", 15, 738, 31, 739, 0, 738, 31, 738, 17, 47], ["-", 15, 738, 31, 739, 0, 738, 12, 738, 17, 19], ["+", 15, 738, 31, 739, 0, 738, 12, 738, 17, 18], ["-", 15, 738, 12, 739, 0, 738, 31, 738, 17, 20], ["+", 15, 738, 12, 739, 0, 738, 31, 738, 17, 47], ["-", 15, 738, 12, ...
4
57
def check(w, h, x, y, r) if x < r return "No" end if y < r return "No" end if x > w - r return "No" end if y > h - r return "No" end end w, h, x, y, r = gets.split.map &:to_i puts check(w, h, x, y, r)
def check(w, h, x, y, r) if x < r return "No" end if y < r return "No" end if x > w - r return "No" end if y > h - r return "No" end return "Yes" end w, h, x, y, r = gets.split.map &:to_i puts check(w, h, x, y, r)
[["+", 0, 493, 0, 735, 8, 736, 0, 38, 0, 38], ["+", 8, 736, 0, 38, 0, 4, 0, 557, 0, 62], ["+", 8, 736, 0, 38, 0, 4, 0, 557, 0, 6]]
4
84
W,H,x,y,r = [int(i) for i in input().split()] if 0<x-r and x+r<W and 0<y-r and H>y+r : print('Yes') else : print('No')
W,H,x,y,r = [int(i) for i in input().split()] if 0 <= x-r and x+r <= W and 0 <= y-r and H >= y+r : print('Yes') else : print('No')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
65
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")
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")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
61
# coding: utf-8 # Your code here! # TP1_2_D # 5 4 2 2 1 # 22 - 33 # 3 < 5 かつ 3<4だからOK # 5 4 2 4 1 # 24 - 35 # 5がアウトる # x,yがマイナスの場合も考慮したい N = input().split() # print(N) W=int(N[0]) H=int(N[1]) x=int(N[2]) y=int(N[3]) r=int(N[4]) if x + r < W and y + r < H and x - r >= 0 and y - r >= 0: print("Yes") else: ...
# coding: utf-8 # Your code here! # TP1_2_D # 5 4 2 2 1 # 22 - 33 # 3 < 5 かつ 3<4だからOK # 5 4 2 4 1 # 24 - 35 # 5がアウトる # x,yがマイナスの場合も考慮したい N = input().split() # print(N) W=int(N[0]) H=int(N[1]) x=int(N[2]) y=int(N[3]) r=int(N[4]) if x + r <= W and y + r <= H and x - r >= 0 and y - r >= 0: print("Yes") else: ...
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19]]
5
104
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')
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')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 65...
5
61
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")
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")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
69
W, H, x, y, r = map(int, input().split()) if r < x < W - r and r < y < H - r: print("Yes") else: print("No")
W, H, x, y, r = map(int, input().split()) if r <= x <= W - r and r <= y <= H - r: print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19]]
5
53
w, h, x, y, r = map(int, input().split()) if(min([x, y, w - x, w - y]) >= r): print("Yes") else: print("No")
w, h, x, y, r = map(int, input().split()) if(min([x, y, w - x, h - y]) >= r): print("Yes") else: print("No")
[["-", 0, 652, 3, 4, 0, 634, 0, 657, 31, 22], ["+", 0, 652, 3, 4, 0, 634, 0, 657, 31, 22]]
5
58
input = input() W,H,x,y,r = map(int ,input.split()) if x - r < 0 or x + r > W or y - r < 0 or y + r > H: print("No") if x - r >= 0 and x + r <= W and y - r >= 0 and x + r <= H: print("Yes")
input = input() W,H,x,y,r = map(int ,input.split()) if x - r < 0 or x + r > W or y - r < 0 or y + r > H: print("No") if x - r >= 0 and x + r <= W and y - r >= 0 and y + r <= H: print("Yes")
[["-", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22]]
5
87
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")
W,H,x,y,r,=map(int,input().split()) if (x-r<0 or x+r>W) or (y-r<0 or y+r>H): print ("No") elif (x-r>=0 and x+r<=W) or (y-r>=0 and y+r<=H): print ("Yes")
[["-", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354], ["-", 0, 656, 0, 57, 75, 665, 15, 679, 17, 355], ["+", 0, 656, 0, 57, 75, 665, 15, 679, 17, 354]]
5
93
x = input().split(" ") if int(x[2]) - int(x[4]) > 0 and int(x[3]) - int(x[4]) > 0 and int(x[2]) + int(x[4]) < int(x[0]) and int(x[3]) + int(x[4]) < int(x[1]) : print("Yes") else: print("No")
x = input().split(" ") if int(x[2]) - int(x[4]) >= 0 and int(x[3]) - int(x[4]) >= 0 and int(x[2]) + int(x[4]) <= int(x[0]) and int(x[3]) + int(x[4]) <= int(x[1]) : print("Yes") else: print("No")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
111
WHxyr = input() WHxyr_list = WHxyr.split(" ") W = int(WHxyr_list[0]) H = int(WHxyr_list[1]) x = int(WHxyr_list[2]) y = int(WHxyr_list[3]) r = int(WHxyr_list[4]) if x - (r > 0 and y - r > 0) and (x + r < W and y + r < H): print("Yes") else: print("No")
WHxyr = input() WHxyr_list = WHxyr.split(" ") W = int(WHxyr_list[0]) H = int(WHxyr_list[1]) x = int(WHxyr_list[2]) y = int(WHxyr_list[3]) r = int(WHxyr_list[4]) if (x - r >= 0 and y - r >= 0) and (x + r <= W and y + r <= H): print("Yes") else: print("No")
[["+", 0, 656, 0, 57, 15, 679, 31, 23, 0, 24], ["-", 0, 57, 15, 679, 31, 657, 12, 23, 0, 24], ["-", 31, 657, 12, 23, 0, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 23, 0, 679, 31, 666, 667, 20], ["-", 31, 657, 12, 23, 0, 679, 12, 666, 667, 47], ["+", 15, 679, 31, 23, 0, 679, 12, 666, 667, 20], ["-", 15, 679, 12, 23, 0, ...
5
103
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')
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')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 65...
5
61
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')
a,b,x,y,r = map(int,input().split()) if (x+r)>a or (y+r)>b or (x-r)<0 or (y-r)<0: print('No') else: print('Yes')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 0, 22], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 0, 22], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 0, 22], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 0, 22]]
5
69
W,H,x,y,r = map(int,input().split()) if x-r<0 and W<x+r and y-r<0 and h<y+r: print('No') else: print('Yes')
W,H,x,y,r = map(int,input().split()) if x-r<0 or W<x+r or y-r<0 or H<y+r: print('No') else: print('Yes')
[["-", 0, 57, 15, 679, 31, 679, 31, 679, 17, 355], ["+", 0, 57, 15, 679, 31, 679, 31, 679, 17, 354], ["-", 0, 656, 0, 57, 15, 679, 31, 679, 17, 355], ["+", 0, 656, 0, 57, 15, 679, 31, 679, 17, 354], ["-", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22], ["+", 36, 36, 0, 656, 0, 5...
5
61
string = input() numbers = string.split() W = int(numbers[0]) H = int(numbers[1]) x = int(numbers[2]) y = int(numbers[3]) r = int(numbers[4]) if x-r>0 and y-r>0 and x+r<W and y+r<H: print('Yes') else: print('No')
string = input() numbers = string.split() W = int(numbers[0]) H = int(numbers[1]) x = int(numbers[2]) y = int(numbers[3]) r = int(numbers[4]) if x-r>=0 and y-r>=0 and x+r<=W and y+r<=H: print('Yes') else: print('No')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
96
W,H,x,y,r = map(int, input().split()) if W < (x+r) or H < (y + r) or 0 > (x+r) or 0 > (y+r) : print("No") else : print("Yes")
W,H,x,y,r = map(int, input().split()) if W < (x+r) or H < (y + r) or 0 > (x-r) or 0 > (y-r) : print("No") else : print("Yes")
[["-", 31, 679, 12, 666, 0, 23, 0, 657, 17, 72], ["+", 31, 679, 12, 666, 0, 23, 0, 657, 17, 33], ["-", 15, 679, 12, 666, 0, 23, 0, 657, 17, 72], ["+", 15, 679, 12, 666, 0, 23, 0, 657, 17, 33]]
5
69
W,H,x,y,r =map(int,input().split()) if (r<=x and x+r<W and r<=y and y+r<=H): print("Yes") else: print("No")
W,H,x,y,r =map(int,input().split()) if (r<=x and x+r<=W and r<=y and y+r<=H): print("Yes") else: print("No")
[["-", 0, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 679, 31, 679, 31, 679, 12, 666, 667, 19]]
5
59
W,H,x,y,r = map(int, input().split()) if(x+r <= W & y+r <= H): if(x-r >= 0 & y-r >= 0) : print("Yes") else : print("No") else : print("No")
W,H,x,y,r = map(int, input().split()) if(x+r <= W and y+r <= H): if(x-r >= 0 and y-r >= 0) : print("Yes") else : print("No") else : print("No")
[["-", 0, 57, 15, 23, 0, 666, 0, 657, 17, 67], ["+", 0, 656, 0, 57, 15, 23, 0, 679, 17, 355], ["+", 64, 196, 0, 57, 15, 23, 0, 679, 17, 355]]
5
74
a = input().split() W,H = int(a[0]),int(a[1]) x,y = int(a[2]),int(a[3]) r = int(a[4]) if 0 < (x-r) and (x+r) < W: if 0 < (y-r) and (y+r) < H: print("Yes") else: print("No") else: print("No")
a = input().split() W,H = int(a[0]),int(a[1]) x,y = int(a[2]),int(a[3]) r = int(a[4]) if 0 <= (x-r) and (x+r) <= W: if 0 <= (y-r) and (y+r) <= H: print("Yes") else: print("No") else: print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19], ["-", 64, 196, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 64, 196, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 64, 196, 0, 57, 1...
5
112
x = input().split() W, H, x, y, r = int(x[0]), int(x[1]),int(x[2]),int(x[3]), int(x[4]) if 0<x-r and 0<y-r and x+r<W and y+r<H: print("Yes") else: print("No")
x = input().split() W, H, x, y, r = int(x[0]), int(x[1]),int(x[2]),int(x[3]), int(x[4]) if 0<=x-r and 0<=y-r and x+r<=W and y+r<=H: print("Yes") else: print("No")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
97
c = input().split() W, H, x, y, r = int(c[0]), int(c[1]), int(c[2]), int(c[3]), int(c[4]) if r < x < W - r and r < y < H - r: print("Yes") else: print("No")
c = input().split() W, H, x, y, r = int(c[0]), int(c[1]), int(c[2]), int(c[3]), int(c[4]) if r <= x <= W - r and r <= y <= H - r: print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19]]
5
89
W,H,x,y,r = map(int,input().split(" ")) if (x > r) and (x < (W-r)) and (y > r) and (y < (H - r)): print("Yes") else: print("No")
W,H,x,y,r = map(int,input().split(" ")) if (x >= r) and (x <= (W-r)) and (y >= r) and (y <= (H - r)): print("Yes") else: print("No")
[["-", 31, 679, 31, 679, 31, 23, 0, 666, 667, 47], ["+", 31, 679, 31, 679, 31, 23, 0, 666, 667, 20], ["-", 31, 679, 31, 679, 12, 23, 0, 666, 667, 18], ["+", 31, 679, 31, 679, 12, 23, 0, 666, 667, 19], ["-", 15, 679, 31, 679, 12, 23, 0, 666, 667, 47], ["+", 15, 679, 31, 679, 12, 23, 0, 666, 667, 20], ["-", 0, 57, 15, 67...
5
72
W, H, x, y, r = map(int, input().split()) right = x - r left = x + r above = y + r below = y - r if x < 0 or y < 0: print('No') else: if right > 0 and left < W and above < H and below > 0: print('Yes') else: print('No')
W, H, x, y, r = map(int, input().split()) right = x - r left = x + r above = y + r below = y - r if x < 0 or y < 0: print('No') else: if right >= 0 and left <= W and above <= H and below >= 0: print('Yes') else: print('No')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 8, 19...
5
90
w,h,x,y,r=map(int,input().split()) if w-r>=x and h-r>=y and x>r and y>r: print('Yes') else: print('No')
w,h,x,y,r=map(int,input().split()) if w-r>=x and h-r>=y and x>=r and y>=r: print('Yes') else: print('No')
[["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 20]]
5
57
W,H,x,y,r = map(int,input().split()) if x-r>=0 and x+r<=W and y-r>=0 and y+r<=0: print('Yes') else: print('No')
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')
[["-", 0, 656, 0, 57, 15, 679, 12, 666, 0, 612], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 0, 22]]
5
61
W, H, x, y, r = list(map(int, input().split())) x_right = x + r x_left = x - r y_up = y + r y_down = y - r if x_right <= W & x_left >= 0 & y_up <= H & y_down >= 0: print("Yes") else: print("No")
W, H, x, y, r = list(map(int, input().split())) x_right = x + r x_left = x - r y_up = y + r y_down = y - r if x_right <= W and x_left >= 0 and y_up <= H and y_down >= 0: print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 67], ["+", 0, 57, 15, 679, 31, 679, 31, 679, 17, 355], ["+", 0, 656, 0, 57, 15, 679, 31, 679, 17, 355], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]]
5
76
def aizu004(): xs = list(map(int,input().split())) W = xs[0] H = xs[1] x = xs[2] y = xs[3] r = xs[4] if (r < x < W-r) and (r < y < H-r): print("Yes") else: print("No") aizu004()
def aizu004(): xs = list(map(int,input().split())) W = xs[0] H = xs[1] x = xs[2] y = xs[3] r = xs[4] if (r <= x <= W-r) and (r <= y <= H-r): print("Yes") else: print("No") aizu004()
[["-", 0, 57, 15, 679, 31, 23, 0, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 23, 0, 666, 667, 19], ["-", 0, 57, 15, 679, 12, 23, 0, 666, 667, 18], ["+", 0, 57, 15, 679, 12, 23, 0, 666, 667, 19]]
5
90
x = list(map(lambda k : int(k),input().split(" "))) if x[4] < x[2] <= x[0]-x[4] and x[4] < x[3] <= x[1] - x[4]: print("Yes") else: print("No")
x = list(map(lambda k : int(k),input().split(" "))) if x[4] <= x[2] <= x[0]-x[4] and x[4] <= x[3] <= x[1] - x[4]: print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19]]
5
81
if __name__ == '__main__': W, H, x, y, r = list(map(int, input().split())) ret = "Yes" if W < x + r or x - r < 0: ret = "No" elif H < y + r or y - r < 0: ret = "No"
if __name__ == '__main__': W, H, x, y, r = list(map(int, input().split())) ret = "Yes" if W < x + r or x - r < 0: ret = "No" elif H < y + r or y - r < 0: ret = "No" print(ret)
[["+", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 64, 196, 0, 1, 0, 652, 3, 4, 0, 25]]
5
73
W,H,x,y,r = list(map(int,input().split())) if x >= r and x <= W-r: if y >= r and y <= H-r: print("Yes") else: print("No")
W,H,x,y,r = list(map(int,input().split())) if x >= r and x <= W-r and y >= r and y<= H-r: print("Yes") else: print("No")
[["-", 36, 36, 36, 36, 0, 656, 0, 57, 0, 102], ["-", 0, 656, 0, 57, 64, 196, 0, 57, 0, 121], ["+", 0, 656, 0, 57, 15, 679, 31, 679, 17, 355]]
5
61
W,H,x,y,r = list(map(int,input().split())) if r < x < W-r and r < y < H-r: print("Yes") else: print("No")
W,H,x,y,r = list(map(int,input().split())) if r <= x <= W-r and r <= y <= H-r: print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19]]
5
56
W, H, x, y, r = map(int, input().split()) print( 'Yes' if r < x < W - r and r < y < H - r else 'No')
W, H, x, y, r = map(int, input().split()) print( 'Yes' if r <= x <= W - r and r <= y <= H - r else 'No')
[["-", 3, 4, 0, 41, 0, 679, 31, 666, 667, 18], ["+", 3, 4, 0, 41, 0, 679, 31, 666, 667, 19], ["-", 3, 4, 0, 41, 0, 679, 12, 666, 667, 18], ["+", 3, 4, 0, 41, 0, 679, 12, 666, 667, 19]]
5
48
(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')
(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 y - r >= 0: print('Yes') else: print('No')
[["-", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 31, 22]]
5
71
W,H,x,y,r = input().split() W,H,x,y,r = list(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("Yes") el...
W,H,x,y,r = input().split() W,H,x,y,r = list(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 isYok(W,H,x,y,r): print("Yes") el...
[["-", 0, 656, 0, 57, 15, 679, 12, 652, 63, 22], ["+", 0, 656, 0, 57, 15, 679, 12, 652, 63, 22]]
5
153
import sys (W, H, x, y, r) = [int(i) for i in sys.stdin.readline().split()] if r <= x <= W - r and r <= y <= H: print("Yes") else: print("No")
import sys (W, H, x, y, r) = [int(i) for i in sys.stdin.readline().split()] if r <= x <= W - r and r <= y <= H - r: print("Yes") else: print("No")
[["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 33], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 12, 22]]
5
63
W, H, x, y, r = list(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")
W, H, x, y, r = list(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")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 65...
5
64
#coding:utf-8 import sys WHxyr=sys.stdin.readline() nums=WHxyr.split( ' ' ) for i in range( len( nums) ): nums[i] = int( nums[i] ) if (0 < nums[2]-nums[4]) and (nums[2]+nums[4] < nums[0]) and (0 < nums[3]-nums[4]) and (nums[3]+nums[4] < nums[1]): print( "Yes" ) else: print( "No" )
#coding:utf-8 import sys WHxyr=sys.stdin.readline() nums=WHxyr.split( ' ' ) for i in range( len( nums) ): nums[i] = int( nums[i] ) if (0 <= nums[2]-nums[4]) and (nums[2]+nums[4] <= nums[0]) and (0 <= nums[3]-nums[4]) and (nums[3]+nums[4] <= nums[1]): print( "Yes" ) else: print( "No" )
[["-", 31, 679, 31, 679, 31, 23, 0, 666, 667, 18], ["+", 31, 679, 31, 679, 31, 23, 0, 666, 667, 19], ["-", 31, 679, 31, 679, 12, 23, 0, 666, 667, 18], ["+", 31, 679, 31, 679, 12, 23, 0, 666, 667, 19], ["-", 15, 679, 31, 679, 12, 23, 0, 666, 667, 18], ["+", 15, 679, 31, 679, 12, 23, 0, 666, 667, 19], ["-", 0, 57, 15, 67...
5
122
W,H,x,y,r=list(map(int,input().split())) if (x-r)>=0 and W>=(x+r) and (y-r)>=0 and H>=(y+r): print("yes") else: print("No")
W,H,x,y,r=list(map(int,input().split())) if (x-r)>=0 and W>=(x+r) and (y-r)>=0 and H>=(y+r): print("Yes") else: print("No")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
72
import math a = input() for i, b in enumerate(a.split()): if i==0: W=int(b) elif i==1: H=int(b) elif i==2: x=int(b) elif i==3: y=int(b) else: r=int(b) if r<x<W-r and r<y<H-r: print('Yes') else: print('No')
import math a = input() for i, b in enumerate(a.split()): if i==0: W=int(b) elif i==1: H=int(b) elif i==2: x=int(b) elif i==3: y=int(b) else: r=int(b) if r<=x<=W-r and r<=y<=H-r: print('Yes') else: print('No')
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19]]
5
104
w,h,x,y,r = map(int, input().split()) if 0<=x-1 and x+1<=w and 0<=y-1 and y+1<=h: print('Yes') else: print('No')
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')
[["-", 31, 679, 31, 679, 31, 666, 0, 657, 12, 612], ["+", 31, 679, 31, 679, 31, 666, 0, 657, 12, 22], ["-", 31, 679, 31, 679, 12, 666, 0, 657, 12, 612], ["+", 31, 679, 31, 679, 12, 666, 0, 657, 12, 22], ["-", 15, 679, 31, 679, 12, 666, 0, 657, 12, 612], ["+", 15, 679, 31, 679, 12, 666, 0, 657, 12, 22], ["-", 0, 57, 15,...
5
61
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')
W,H,x,y,r=map(int,input().split()) if W-x>=r and x>=r and H-y>=r and y>=r: print('Yes') else: print('No')
[["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 67], ["+", 0, 57, 15, 679, 31, 679, 31, 679, 17, 355], ["+", 0, 656, 0, 57, 15, 679, 31, 679, 17, 355], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]]
5
57
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')
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')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 65...
5
69
W,H,x,y,r = input().split(' ') W,H,x,y,r = int(W),int(H),int(x),int(y),int(r) if x-r <0 or y-r <0 or x+r >W or y+r>H: print("N0") else: print("Yes")
W,H,x,y,r = input().split(' ') W,H,x,y,r = int(W),int(H),int(x),int(y),int(r) if x-r <0 or y-r <0 or x+r >W or y+r>H: print("No") else: print("Yes")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
93
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")
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")
[["-", 15, 679, 12, 666, 0, 23, 0, 657, 17, 33], ["+", 15, 679, 12, 666, 0, 23, 0, 657, 17, 72]]
5
110
import warnings data = list(map(float, input().split())) w = data[0] h = data[1] x = data[2] y = data[3] r = data[4] if (x > r and x < (w - r) and y > r and y < (h - r)): print("Yes") else: print("No")
import warnings data = list(map(float, input().split())) w = data[0] h = data[1] x = data[2] y = data[3] r = data[4] if (x >= r and x <= (w - r) and y >= r and y <= (h - r)): print("Yes") else: print("No")
[["-", 0, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 0, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 0, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 15, 23, 0, 679, 31, 679, 12, 666, 667, 47], ["+", 15, 23, 0, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 57, 15...
5
90
(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')
(w, h, x, y, r) = input().split(' ') 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')
[["-", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22]]
5
87
s=input() W,H,x,y,r=map(int,s.split()) if(x-r>0 and y-r>0 and y+r<H and x+r < W): print("Yes") else: print("No")
s=input() W,H,x,y,r=map(int,s.split()) if(x-r>=0 and y-r>=0 and y+r<=H and x+r<=W): print("Yes") else: print("No")
[["-", 0, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 0, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 0, 679, 31, 679, 31, 679, 12, 666, 667, 47], ["+", 0, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["-", 15, 23, 0, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 23, 0, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15...
5
66
num = input() num = num.split() result = True w, h, x, y, r = int(num[0]), int(num[1]), int(num[2]), int(num[3]), int(num[4]) if x <= r or (w - r) <= x: result = False if y <= r or (h - r) <= y: result = False if result: print("Yes") else: print("No")
num = input() num = num.split() result = True w, h, x, y, r = int(num[0]), int(num[1]), int(num[2]), int(num[3]), int(num[4]) if x < r or (w - r) < x: result = False if y < r or (h - r) < y: result = False if result: print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18]]
5
113
X= input().split() if float(X[2]) + float(X[4]) < float(X[0])and float(X[2]) - float(X[4]) > 0 and float(X[3]) + float(X[4]) < float(X[1]) and float(X[3]) - float(X[4]) > 0: print("Yes") else: print("No")
X= input().split() if float(X[2]) + float(X[4]) <= float(X[0])and float(X[2]) - float(X[4]) >= 0 and float(X[3]) + float(X[4]) <= float(X[1]) and float(X[3]) - float(X[4]) >= 0: print("Yes") else: print("No")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
108
W, H, x, y, r = list(map(int, input().split())) right = x - r left = x + r top = y + r bottom = y - r if (left < 0) | (W < right) | (bottom < 0) | (H < top): print("No") else: print("Yes")
W, H, x, y, r = list(map(int, input().split())) left = x - r right = x + r top = y + r bottom = y - r if (left < 0) | (W < right) | (bottom < 0) | (H < top): print("No") else: print("Yes")
[["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["+", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22]]
5
84
numbers = [] n = 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")
numbers = [] n = 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")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
108
#!/usr/bin/env python # -*- coding: utf-8 -*- var = input().split() var = list(map(int, var)) if 0 < var[2] - var[4] or 0 < var[3] - var[4]: print("No") elif var[0] < var[2] + var[4] or var[1] > var[3] + var[4]: print("No") else: print("Yes")
#!/usr/bin/env python # -*- coding: utf-8 -*- var = input().split() var = list(map(int, var)) if 0 > var[2] - var[4] or 0 > var[3] - var[4]: print("No") elif var[0] < var[2] + var[4] or var[1] < var[3] + var[4]: print("No") else: print("Yes")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47], ["-", 0, 57, 75, 665, 15, 679, 12, 666, 667, 47], ["+", 0, 57, 75, 665, 15, 679, 12, 666, 667, 18]]
5
98
W, H, x, y, r=list(map(int, input().split())) if(0>=x-r or 0>=y-r or W<=x+r or H<=y+r): print("No") else: print("Yes")
W, H, x, y, r=list(map(int, input().split())) if(0>x-r or 0>y-r or W<x+r or H<y+r): print("No") else: print("Yes")
[["-", 0, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["+", 0, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["-", 0, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["+", 0, 679, 31, 679, 31, 679, 12, 666, 667, 47], ["-", 15, 23, 0, 679, 31, 679, 12, 666, 667, 19], ["+", 15, 23, 0, 679, 31, 679, 12, 666, 667, 18], ["-", 0, 57, 15...
5
66
import sys W,H,x,y,r = list(map(int,sys.stdin.readline().split())) if x+r > W or x-r < 0 or y+r > H or y-r < 0: print('Yes') else: print('No')
import sys W,H,x,y,r = list(map(int,sys.stdin.readline().split())) if x+r > W or x-r < 0 or y+r > H or y-r < 0: print('No') else: print('Yes')
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
70
W, H, x, y, r = list(map(int, input().split())) if (0 <= x+r and x+r <= W) and (0 <= y+r and y+r <= H) : print("Yes") else: print("No")
W,H,x,y,r = list(map(int, input().split())) if (0 <= x - r and x + r <= W) and (0 <= y - r and y + r <= H): print("Yes") else: print("No")
[["-", 31, 23, 0, 679, 31, 666, 0, 657, 17, 72], ["+", 31, 23, 0, 679, 31, 666, 0, 657, 17, 33], ["-", 12, 23, 0, 679, 31, 666, 0, 657, 17, 72], ["+", 12, 23, 0, 679, 31, 666, 0, 657, 17, 33]]
5
68
W, H, x, y, r = list(map(int, input().split())) if x <= r and r <= W - x and y <= r and r <= H - y: print('Yes') else: print('No')
W, H, x, y, r = list(map(int, input().split())) if r <= x and r <= W - x and r <= y and r <= H - y: print('Yes') else: print('No')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 0, 22], ["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 0, 22], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 0, 22], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["+", 0, 57, 15, ...
5
60
W, H, x, y, r = list(map(int, input().split())) if x > r and x < W - x and y > r and y < H -r: print("Yes") else: print("No")
W, H, x, y, r = list(map(int, input().split())) if x >= r and x <= W - r and y >= r and y <= H - r: print("Yes") else: print("No")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 31, 679, 31, 679, 12, 666, 0, 657, 12, 22], ["+", 31, 679, 31, 679, 12, 666, 0, 657, 12, 22], ["-", 0, 57...
5
60
w,h,x,y,r = list(map(int, input().split())) if x-r > 0 and y-r > 0: if x+r < w and y+r < h: print('Yes') else: print('No') else: print('No')
w,h,x,y,r = list(map(int, input().split())) if x-r >= 0 and y-r >= 0: if x+r <= w and y+r <= h: print('Yes') else: print('No') else: print('No')
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 20], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 20], ["-", 64, 196, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 64, 196, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 64, 196, 0, 57, 1...
5
73
W , H , x , y , r = list(map( int , input().split() )) if 0 < x-r and x+r < W and 0 < y-r and y+r < H: print('Yes') else: print('No')
W , H , x , y , r = list(map( int , input().split() )) if 0 <= x-r and x+r <= W and 0 <= y-r and y+r <= H: print('Yes') else: print('No')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
64
W,H,x,y,r=list(map(int,input().split())) if r < x and r < y and x + r < W and y + r < H: print("Yes") else: print("No")
W,H,x,y,r=list(map(int,input().split())) if r <= x and r <= y and x + r <= W and y + r <= H: print("Yes") else: print("No")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
60
W, H, x, y, r = list(map(int, input().split())) if x+r<0 or y+r<0: print("No") elif x+r <= W and y+r <= H: print("Yes") else: print("No")
W, H, x, y, r = list(map(int, input().split())) if x-r<0 or y-r<0: print("No") elif x+r <= W and y+r <= H: print("Yes") else: print("No")
[["-", 0, 57, 15, 679, 31, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 31, 666, 0, 657, 17, 33], ["-", 0, 57, 15, 679, 12, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 33]]
5
71
W, H, x, y, r = list(map(int, input().split())) if x-r >= 0 and y-r >= 0 and x+r <= W and y+r <= H: print('Yes') print('No')
W, H, x, y, r = list(map(int, input().split())) if x-r >= 0 and y-r >= 0 and x+r <= W and y+r <= H: print('Yes') else: print('No')
[["+", 36, 36, 0, 656, 0, 57, 75, 76, 0, 95], ["+", 36, 36, 0, 656, 0, 57, 75, 76, 0, 102]]
5
62
import sys H,W,x,y,r = list(map(int, input().split())) if (x + r) < H and (x - r) > 0: if (y + r) < W and (y - r) > 0: print("Yes") else: print("No") else: print("No")
import sys H,W,x,y,r = list(map(int, input().split())) if (x + r) <= H and (x - r) >= 0: if (y + r) <= W and (y - r) >= 0: print("Yes") else: print("No") else: print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 20], ["-", 64, 196, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 64, 196, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 64, 196, 0, 57, 1...
5
83
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')
W,H,x,y,r = map(int, input().split()) if r <= x <= W-r and r <= y <= H-r: print ('Yes') else: print ('No')
[["-", 3, 4, 0, 652, 63, 319, 500, 652, 63, 22], ["+", 3, 4, 0, 652, 63, 319, 500, 652, 63, 22]]
5
53
W,H,x,y,r = list(map(float,input().split())) x_min = x-r x_max=x+r y_min=y-r y_max=y+r if x_min > 0 and y_min > 0 and x_max < W and y_max < H: print("Yes") else: print("No")
W,H,x,y,r = list(map(float,input().split())) x_min = x-r x_max=x+r y_min=y-r y_max=y+r if x_min >= 0 and y_min >= 0 and x_max <= W and y_max <= H: print("Yes") else: print("No")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
76
W, H, x, y, r = map(int, input().split()) if x-r >= 0 & y-r >= 0 & x+r <= W & y+r <=H: print('Yes') else: print('No')
W, H, x, y, r = map(int, input().split()) if x-r >= 0 and y-r >= 0 and x+r <= W and y+r <=H: print('Yes') else: print('No')
[["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 67], ["+", 0, 57, 15, 679, 31, 679, 31, 679, 17, 355], ["+", 0, 656, 0, 57, 15, 679, 31, 679, 17, 355], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 355]]
5
61
# encoding:utf-8 # W,H,x,y,r W,H,x,y,r = map(int, input().split(" ")) if r <= x < (W-r) and r <= y < (H-r): print("Yes") else: print("No")
# encoding:utf-8 # W,H,x,y,r W,H,x,y,r = map(int, input().split(" ")) if r <= x <= (W-r) and r <= y <= (H-r): print("Yes") else: print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19]]
5
62
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")
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")
[["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 20]]
5
69
W, H, x, y, r = map(int, input().split()) def YesOrNo(W, H , x, y, r): Xr = x + r Xl = x - r Yu = y + r Yd = y - r if (W >= Xr and H >= Yu and 0 >= Xl and 0 >= Yd): return "Yes" else: return "No" print(YesOrNo(W, H, x, y, r))
W, H, x, y, r = map(int, input().split()) def YesOrNo(W, H , x, y, r): Xr = x + r Xl = x - r Yu = y + r Yd = y - r if (W >= Xr and H >= Yu and 0 <= Xl and 0 <= Yd): return "Yes" else: return "No" print(YesOrNo(W, H, x, y, r))
[["-", 15, 23, 0, 679, 31, 679, 12, 666, 667, 20], ["+", 15, 23, 0, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 23, 0, 679, 12, 666, 667, 20], ["+", 0, 57, 15, 23, 0, 679, 12, 666, 667, 19]]
5
100
W,H,x,y,r = (int(i) for i in input().split()) answer = "Yes" if x - r <= 0 : answer = "No" elif y - r <= 0 : answer = "No" elif x + r >= W : answer = "No" elif y + r >= H : answer = "No" print(answer)
W,H,x,y,r = (int(i) for i in input().split()) answer = "Yes" if x - r < 0 : answer = "No" elif y - r < 0 : answer = "No" elif x + r > W : answer = "No" elif y + r > H : answer = "No" print(answer)
[["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 19], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 18], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 19], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 667, 18], ["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 20], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 667, 47]]
5
83
import sys W, H, x, y, r = map(int, sys.stdin.readline().split()) if((r < x < W-r) and (r < y < H-r)): print("Yes") else: print("No")
import sys W, H, x, y, r = map(int, sys.stdin.readline().split()) if((r <= x <= W-r) and (r <= y <= H-r)): print("Yes") else: print("No")
[["-", 15, 23, 0, 679, 31, 23, 0, 666, 667, 18], ["+", 15, 23, 0, 679, 31, 23, 0, 666, 667, 19], ["-", 15, 23, 0, 679, 12, 23, 0, 666, 667, 18], ["+", 15, 23, 0, 679, 12, 23, 0, 666, 667, 19]]
5
65
def mondai(W, H, x, y, r): if (x + r < 0 or x + r > W or y + r < 0 or y + r > H): print('No') else: print('Yes') W, H, x, y, r = [int(x) for x in input().split()] mondai(W, H, x, y, r)
def mondai(W, H, x, y, r): if (x - r < 0 or x + r > W or y - r < 0 or y + r > H): print('No') else: print('Yes') W, H, x, y, r = [int(x) for x in input().split()] mondai(W, H, x, y, r)
[["-", 31, 679, 31, 679, 31, 666, 0, 657, 17, 72], ["+", 31, 679, 31, 679, 31, 666, 0, 657, 17, 33], ["-", 0, 679, 31, 679, 12, 666, 0, 657, 17, 72], ["+", 0, 679, 31, 679, 12, 666, 0, 657, 17, 33]]
5
93
# coding:utf-8 # ??????????????¢??????????????????????????? WHxyr = input().split() W = int(WHxyr[0]) H = int(WHxyr[1]) x = int(WHxyr[2]) y = int(WHxyr[3]) r = int(WHxyr[4]) if x-r > 0 and x+r < W and y-r > 0 and y+r < H: print("Yes") else: print("No")
# coding:utf-8 # ??????????????¢??????????????????????????? WHxyr = input().split() W = int(WHxyr[0]) H = int(WHxyr[1]) x = int(WHxyr[2]) y = int(WHxyr[3]) r = int(WHxyr[4]) if x-r >= 0 and x+r <= W and y-r >= 0 and y+r <= H: print("Yes") else: print("No")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 20], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 47], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 65...
5
95
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def main(): nums = input().split(" ") width, height, x, y, r =[int(i) for i in nums] if 0 < x - r and x + r < width and 0 < y - r and y + r < height: return "Yes" else: return "No" if __name__ == '__main__': print(main())
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def main(): nums = input().split(" ") width, height, x, y, r =[int(i) for i in nums] if 0 <= x - r and x + r <= width and 0 <= y - r and y + r <= height: return "Yes" else: return "No" if __name__ == '__main__': print(main())
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 8, 19...
5
87
W, H, x, y, r = map(int, input().split()) if r < x and x < W-r and r < y and y < H-r: print('Yes') else: print('No')
W, H, x, y, r = map(int, input().split()) if r <= x and x <= W-r and r <= y and y <= H-r: print('Yes') else: print('No')
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
57
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: print("Yes") else: print("No")
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: print("Yes") else: print("No")
[["-", 31, 679, 31, 679, 12, 666, 0, 657, 17, 72], ["+", 31, 679, 31, 679, 12, 666, 0, 657, 17, 33], ["-", 0, 57, 15, 679, 12, 666, 0, 657, 17, 72], ["+", 0, 57, 15, 679, 12, 666, 0, 657, 17, 33]]
5
61
w ,h ,x ,y ,r = input().split(' ') if int(x) < int(w) - int(r) and int(x) > int(r) and int(y) < int(h) - int(r) and int(y) > int(r): print("Yes") else: print("No")
w ,h ,x ,y ,r = input().split(' ') if int(x) <= int(w) - int(r) and int(x) >= int(r) and int(y) <= int(h) - int(r) and int(y) >= int(r): print("Yes") else: print("No")
[["-", 15, 679, 31, 679, 31, 679, 31, 666, 667, 18], ["+", 15, 679, 31, 679, 31, 679, 31, 666, 667, 19], ["-", 15, 679, 31, 679, 31, 679, 12, 666, 667, 47], ["+", 15, 679, 31, 679, 31, 679, 12, 666, 667, 20], ["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19], ["-", 0, 65...
5
85
a = list(map(int, input().split())) w,h,x,y,r = a if(r<=x<=w-r and r<=y<=h-r): print("YES") else: print("NO")
a = list(map(int, input().split())) w,h,x,y,r = a if(r<=x<=w-r and r<=y<=h-r): print("Yes") else: print("No")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
61
W,H,x,y,r = list(map(int,input().split())) if x+r < W and x-r > 0: if y+r < H and y-r > 0: print("Yes") else : print("No") else : print("No")
W,H,x,y,r = list(map(int,input().split())) if x+r <= W and x-r >= 0: if y+r <= H and y-r >= 0: print("Yes") else : print("No") else : print("No")
[["-", 0, 656, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 0, 656, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 47], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 20], ["-", 64, 196, 0, 57, 15, 679, 31, 666, 667, 18], ["+", 64, 196, 0, 57, 15, 679, 31, 666, 667, 19], ["-", 64, 196, 0, 57, 1...
5
73