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
ip=list(map(int,input().split())) if ip[0]==ip[1]: print('a==b') elif ip[0]>ip[1]: print('a>b') else: print('a<b')
ip=list(map(int,input().split())) if ip[0]==ip[1]: print('a == b') elif ip[0]>ip[1]: print('a > b') else: print('a < b')
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
59
a,b = input().split(' ') if int(a) > int(b): print('a???> b') elif int(a) < int(b): print('a < b') else: print('a == b')
a,b = input().split(' ') if int(a) > int(b): print('a > b') elif int(a) < int(b): print('a < b') else: print('a == b')
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
56
a,b=[int(x) for x in input().split()] op = ">" if a > b else "<" if a < b else "=" print("a",op,"b")
a,b=[int(x) for x in input().split()] op = ">" if a > b else "<" if a < b else "==" print("a",op,"b")
[["-", 0, 662, 12, 41, 0, 41, 0, 557, 0, 6], ["+", 0, 662, 12, 41, 0, 41, 0, 557, 0, 6]]
5
53
#coding: utf-8 nums=list(map(int,input().split())) a=nums[0] b=nums[1] if a>b: print("a>b") elif a<b: print("a<b") else: print("a==b")
#coding: utf-8 nums=list(map(int,input().split())) a=nums[0] b=nums[1] if a>b: print("a > b") elif a<b: print("a < b") else: print("a == b")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
60
a, b=[int(i) for i in input().split()] if a < b: print("a < b") elif a > b: print("a < b") else: print("a == b")
a, b=[int(i) for i in input().split()] if a < b: print("a < b") elif a > b: print("a > b") else: print("a == b")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
50
t = input() s = t.split() if s[0] == s[1]: print("a = b") else: if int(s[0]) > int(s[1]): print("a > b") else: print("a < b")
t = input() s = t.split() if s[0] == s[1]: print("a == b") else: if int(s[0]) > int(s[1]): print("a > b") else: print("a < b")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
62
intl=list(map(int, input().split)) a=intl[0] b=intl[1] if a==b: print("a == b") elif a>b: print("a > b") else: print("a < b")
intl=list(map(int, input().split())) a=intl[0] b=intl[1] if a==b: print("a == b") elif a>b: print("a > b") else: print("a < b")
[["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
57
a,b=map(int, input().split()) if a < b: print("a < b") else: if a ==b: print("a = b") else: if a>b: print( "a > b" )
a,b=map(int, input().split()) if a < b: print("a < b") else: if a ==b: print("a == b") else: if a>b: print( "a > b" )
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
53
#coding: UTF-8 def SLE(a,b): if a > b: return "a > b" elif a < b: return "a < b" else: return "a = b" if __name__=="__main__": a = input().split(" ") ans = SLE(int(a[0]),int(a[1])) print(ans)
#coding: UTF-8 def SLE(a,b): if a > b: return "a > b" elif a < b: return "a < b" else: return "a == b" if __name__=="__main__": a = input().split(" ") ans = SLE(int(a[0]),int(a[1])) print(ans)
[["-", 75, 76, 8, 196, 0, 37, 0, 557, 0, 6], ["+", 75, 76, 8, 196, 0, 37, 0, 557, 0, 6]]
5
76
t = list(map(int, input().split())) if t[0] < t[1]: print("a < b") elif t[0] > t[1]: print("a > b") else : print("a = b")
t = list(map(int, input().split())) if t[0] < t[1]: print("a < b") elif t[0] > t[1]: print("a > b") else : print("a == b")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
59
(a, b) = map(lambda s:int(s), input().split()) if a < b: cmp = '<' elif a > b: cmp = '>' else: cmp = '=' print('a', cmp, 'b')
(a, b) = map(lambda s:int(s), input().split()) if a < b: cmp = '<' elif a > b: cmp = '>' else: cmp = '==' print('a', cmp, 'b')
[["-", 8, 196, 0, 1, 0, 662, 12, 557, 0, 6], ["+", 8, 196, 0, 1, 0, 662, 12, 557, 0, 6]]
5
63
a,b= int(input().split()) if(a==b): print("a == b") elif(a<b): print("a < b") elif(a>b): print("a > b")
a,b= map(int,(input().split())) if(a==b): print("a == b") elif(a<b): print("a < b") elif(a>b): print("a > b")
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["+", 3, 4, 0, 23, 0, 652, 3, 4, 0, 25]]
5
53
a,b= int(input().split()) if(a==b): print("a == b") elif(a<b): print("a < b") elif(a>b): print("a > b")
a,b= map(int,input().split()) if(a==b): print("a == b") elif(a<b): print("a < b") elif(a>b): print("a > b")
[["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21]]
5
53
a,b = map(int, input().split()) if a > b: print("a > b") else: if a <b: print("a < b") else: print("a = b")
a,b = map(int, input().split()) if a > b: print("a > b") else: if a <b: print("a < b") else: print("a == b")
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
48
# coding: utf-8 # Here your code ! a,b = input().split() if(a < b): print('a < b') elif(a > b): print('a > b') else: print('a == b')
# coding: utf-8 # Here your code ! a,b = map(int,input().split()) if(a < b): print('a < b') elif(a > b): print('a > b') else: print('a == b')
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
47
num = input() num_list = [] num_list = num.split() if int(num_list[0]) == int(num_list[1]): print('a',b,sep=' == ') elif int(num_list[0]) > int(num_list[1]): print('a','b',sep=' > ') else: print('a','b',sep=' < ')
num = input() num_list = [] num_list = num.split() if int(num_list[0]) == int(num_list[1]): print('a','b',sep=' == ') elif int(num_list[0]) > int(num_list[1]): print('a','b',sep=' > ') else: print('a','b',sep=' < ')
[["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]]
5
98
if __name__ == "__main__": a, b = map( int, input().split() ) if a < b: print("a < b") elif b > a: print("a > b") else: print("a == b")
if __name__ == "__main__": a, b = map( int, input().split() ) if a < b: print("a < b") elif a > b: print("a > b") else: print("a == b")
[["-", 64, 196, 0, 57, 75, 665, 15, 666, 0, 22], ["-", 64, 196, 0, 57, 75, 665, 15, 666, 667, 47], ["+", 64, 196, 0, 57, 75, 665, 15, 666, 667, 47], ["+", 64, 196, 0, 57, 75, 665, 15, 666, 0, 22]]
5
53
import sys [a, b] = [int(x) for x in sys.stdin.readline().split()] if a < b: print("a < b") elif a < b: print("a > b") else: print("a == b")
import sys [a, b] = [int(x) for x in sys.stdin.readline().split()] if a < b: print("a < b") elif a > b: print("a > b") else: print("a == b")
[["-", 0, 656, 0, 57, 75, 665, 15, 666, 667, 18], ["+", 0, 656, 0, 57, 75, 665, 15, 666, 667, 47]]
5
58
list = input() a = int(list[0]) b = int(list[1]) if a > b: print("a > b") elif a == b: print("a == b") else: print("a < b")
list = input().split(" ") a = int(list[0]) b = int(list[1]) if a > b: print("a > b") elif a == b: print("a == b") else: print("a < b")
[["+", 0, 1, 0, 662, 12, 652, 63, 319, 0, 131], ["+", 0, 1, 0, 662, 12, 652, 63, 319, 319, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 662, 12, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 662, 12, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 662, 12, 652, 3, 4, 0, 557, 0, 655], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
53
ipt = input().split(" ") a = ipt[0] b = ipt[1] if a<b: print("a < b") elif a>b: print("a > b") else: print("a == b")
ipt = input().split(" ") a = int(ipt[0]) b = int(ipt[1]) if a<b: print("a < b") elif a>b: print("a > b") else: print("a == b")
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
54
soboe = input() al = soboe.split(' ') a = al[0] b = al[1] if a < b : print('a < b') elif a > b : print('a > b') elif a == b : print('a == b')
soboe = input() al = soboe.split(' ') a = int(al[0]) b = int(al[1]) if a < b : print('a < b') elif a > b : print('a > b') elif a == b : print('a == b')
[["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]]
5
60
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String line = in.nextLine(); String[] Array = line.split(" "); int W = Integer.parseInt(Array[0]); int H = Integer.parseInt(Array[1]); int x = Integer.parseInt(Array[2])...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String line = in.nextLine(); String[] Array = line.split(" "); int W = Integer.parseInt(Array[0]); int H = Integer.parseInt(Array[1]); int x = Integer.parseInt(Array[2])...
[["-", 0, 16, 31, 23, 0, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 23, 0, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 23, 0, 16, 12, 16, 17, 19], ["-", 0, 16, 12, 23, 0, 16, 31, 16, 17, 18], ["+", 0, 16, 12, 23, 0, 16, 31, 16, 17, 19], ["-", 0, 16, 12, 23, 0, 16, 12, 16, 17, 18], ["+"...
3
180
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int w = scanner.nextInt(); int h = scanner.nextInt(); int x = scanner.nextInt(); int y = scanner.nextInt(); int r = scanner.nextInt(); String judge = "No"; ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int w = scanner.nextInt(); int h = scanner.nextInt(); int x = scanner.nextInt(); int y = scanner.nextInt(); int r = scanner.nextInt(); String judge = "No"; ...
[["-", 0, 16, 31, 23, 0, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 23, 0, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 23, 0, 16, 12, 16, 17, 19], ["-", 0, 16, 12, 23, 0, 16, 31, 16, 17, 18], ["+", 0, 16, 12, 23, 0, 16, 31, 16, 17, 19], ["-", 0, 16, 12, 23, 0, 16, 12, 16, 17, 18], ["+"...
3
130
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); String[] dataStr = sc.nextLine().split(" "); int[] data = new int[dataStr.length]; for (int i = 0; i < data.length; i...
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); String[] dataStr = sc.nextLine().split(" "); int[] data = new int[dataStr.length]; for (int i = 0; i < data.length; i...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18]...
3
185
import java.util.*; public class Main { public static void main(String[] args) { String input = new Scanner(System.in).nextLine(); String[] num = input.split("\\s"); int W = Integer.parseInt(num[0]); int H = Integer.parseInt(num[1]); int x = Integer.parseInt(num[2]); int y = Integer.parseInt(...
import java.util.*; public class Main { public static void main(String[] args) { String input = new Scanner(System.in).nextLine(); String[] num = input.split("\\s"); int W = Integer.parseInt(num[0]); int H = Integer.parseInt(num[1]); int x = Integer.parseInt(num[2]); int y = Integer.parseInt(...
[["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
180
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { public static void main(String[] args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String x = ""; try { x = in.readLine(); }...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { public static void main(String[] args) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String x = ""; try { x = in.readLine(); }...
[["-", 49, 200, 51, 492, 3, 4, 0, 504, 71, 499], ["+", 49, 200, 51, 492, 3, 4, 0, 504, 71, 499]]
3
253
import java.io.*; import java.util.*; class CIR { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] strAry = str.split(" "); int ar[] = new int[5]; for (int i = 0; i < 5; i...
import java.io.*; import java.util.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] strAry = str.split(" "); int ar[] = new int[5]; for (int i = 0; i < 5; ...
[["-", 36, 36, 36, 36, 0, 493, 0, 235, 141, 22], ["+", 36, 36, 36, 36, 0, 493, 0, 235, 141, 22], ["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 19]]
3
219
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readLine(); String[] strArray = input...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readLine(); String[] strArray = input...
[["-", 0, 195, 8, 196, 0, 57, 15, 15, 0, 25], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 8, 196, 0, 57, 64, 196, 0, 57, 0, 121], ["-", 0, 57, 64, 196, 0, 57, 15, 15, 0, 24], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 98], ["-", 0, 57, 64, 196, 0, 57, 75, 196, 0, 46]]
3
200
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { private static BufferedReader buf; public static void main(String[] args) throws IOException { buf = new BufferedReader(new InputStreamReader(System.in)); String str = buf.readLine(); String[] s = ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { private static BufferedReader buf; public static void main(String[] args) throws IOException { buf = new BufferedReader(new InputStreamReader(System.in)); String str = buf.readLine(); String[] s = ...
[["-", 31, 16, 31, 16, 31, 23, 0, 16, 17, 18], ["+", 31, 16, 31, 16, 31, 23, 0, 16, 17, 19], ["-", 31, 16, 31, 16, 12, 23, 0, 16, 17, 47], ["+", 31, 16, 31, 16, 12, 23, 0, 16, 17, 20], ["-", 0, 16, 31, 16, 12, 23, 0, 16, 17, 18], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 17, 19], ["-", 15, 15, 0, 16, 12, 23, 0, 16, 17, 47], ...
3
209
import java.io.*; class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] strArr = br.readLine().split(" "); int w = Integer.parseInt(strArr[0]); int h = Integer.parseInt(strArr[1]); int x = Integer....
import java.io.*; class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] strArr = br.readLine().split(" "); int w = Integer.parseInt(strArr[0]); int h = Integer.parseInt(strArr[1]); int x = Integer....
[["-", 0, 16, 31, 23, 0, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 23, 0, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 23, 0, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 23, 0, 16, 12, 16, 17, 19], ["-", 0, 16, 12, 23, 0, 16, 31, 16, 17, 47], ["+", 0, 16, 12, 23, 0, 16, 31, 16, 17, 20], ["-", 0, 16, 12, 23, 0, 16, 12, 16, 17, 18], ["+"...
3
180
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int W = scan.nextInt(); int H = scan.nextInt(); int x = scan.nextInt(); int y = scan.nextInt(); int r = scan.nextInt(); if ((x - r) < 0 || W < (x + r) || (y - r) < 0 ||...
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int W = scan.nextInt(); int H = scan.nextInt(); int x = scan.nextInt(); int y = scan.nextInt(); int r = scan.nextInt(); if ((x - r) < 0 || W < (x + r) || (y - r) < 0 ||...
[["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 38], ["+", 8, 196, 0, 57, 64, 196, 0, 37, 0, 35]]
3
138
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try { BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); String input; input = buf.readLine(); String[] strAry = input.split(" "); i...
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try { BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); String input; input = buf.readLine(); String[] strAry = input.split(" "); i...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 20], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 47], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 20], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47], ["-", 75, 57, 15, 15, 0, 16, 31, 16, 17, 20], ["+", 75, 57, 15, 15, 0, 16, 31, 16, 17, 47], ["-", 75, 57, 15, 15, 0, 16, 12, 16, 17, 20], [...
3
224
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner out = new Scanner(System.in); String str = out.nextLine(); String[] sss = str.split(" "); int a = Integer.parseInt(sss[0]); int b = Integer.parseInt(sss[1]); int c = Integer.parseInt(sss[2]); ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner out = new Scanner(System.in); String str = out.nextLine(); String[] sss = str.split(" "); int a = Integer.parseInt(sss[0]); int b = Integer.parseInt(sss[1]); int c = Integer.parseInt(sss[2]); ...
[["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["+", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46], ["+", 8, 498, 0, 195, 8, 196, 0, 57, 0, 95], ["+", 0, 195, 8, 196, 0, 57, 75, 196, 0, 45], ["+", 0, 195, 8, 196, 0, 57, 75, 196, 0, 46]]
3
171
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String n = br.readLine(); ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String n = br.readLine(); ...
[["+", 0, 16, 31, 23, 0, 16, 31, 23, 0, 24], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 45], ["-", 0, 195, 8, 196, 0, 57, 64, 196, 0, 46], ["-", 8, 498, 0, 195, 8, 196, 0, 57, 0, 121], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 106], ["+", 0, 16, 12, 23, 0, 16, 12, 23, 0, 25]]
3
210
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner std = new Scanner(System.in); int w = Integer.parseInt(std.next()); int h = Integer.parseInt(std.next()); int x = Integer.parseInt(std.next()); int y = Integer.parseInt(std.next()); int r = Integer....
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner std = new Scanner(System.in); int w = Integer.parseInt(std.next()); int h = Integer.parseInt(std.next()); int x = Integer.parseInt(std.next()); int y = Integer.parseInt(std.next()); int r = Integer....
[["-", 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], ["-", 49, 200, 51, 16, 31, 16, 12, 16, 17, 18], ["+", 49, 200, 51, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 503, 49, 200, 51, 16, 12, ...
3
163
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int W, H, x, y, r; W = scan.nextInt(); H = scan.nextInt(); x = scan.nextInt(); y = scan.nextInt(); r = scan.nextInt(); if ((y + r) < H && (x + r) < W && (y -...
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int W, H, x, y, r; W = scan.nextInt(); H = scan.nextInt(); x = scan.nextInt(); y = scan.nextInt(); r = scan.nextInt(); if ((y + r) <= H && (x + r) <= W && (y...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47]...
3
147
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(), H = sc.nextInt(); int x = sc.nextInt(), y = sc.nextInt(), r = sc.nextInt(); System.out.println( (H > y + r && y - r > 0 && W > x + r && x - r > 0) ? "Yes" : ...
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(), H = sc.nextInt(); int x = sc.nextInt(), y = sc.nextInt(), r = sc.nextInt(); System.out.println( (H >= y + r && y - r >= 0 && W >= x + r && x - r >= 0) ? "Yes...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 23, 0, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 23, 0, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 510, 15, 23, 0, 16, 12, 16, 17, 47...
3
117
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] strAry = str.split(" "); int W = Integer.parseInt(strAry[0]); int H = Integer.parseInt(strAry[...
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] strAry = str.split(" "); int W = Integer.parseInt(strAry[0]); int H = Integer.parseInt(strAry[...
[["-", 15, 15, 0, 16, 31, 16, 31, 16, 17, 106], ["+", 15, 15, 0, 16, 31, 16, 31, 16, 17, 98], ["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 106], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 98], ["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 106], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 98]]
3
181
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] array = line.split(" "); int W = Integer.parseInt(array[0]); int H = Integer.parseInt(array[1]); int x = Integer.parseInt(array[2]...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] array = line.split(" "); int W = Integer.parseInt(array[0]); int H = Integer.parseInt(array[1]); int x = Integer.parseInt(array[2]...
[["+", 8, 498, 0, 195, 8, 196, 0, 57, 0, 95]]
3
201
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String str = in.readLine(); String[] size = str.split(" "); int[] Num = new int[5]; int W = Integer.parseInt(size[0]); ...
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String str = in.readLine(); String[] size = str.split(" "); int[] Num = new int[5]; int W = Integer.parseInt(size[0]); ...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18]...
3
193
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] str = line.split(" "); int W = Integer.parseInt(str[0]); int H = Integer.pa...
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] str = line.split(" "); int W = Integer.parseInt(str[0]); int H = Integer.par...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18]...
3
177
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W, H, x, y, r; W = sc.nextInt(); H = sc.nextInt(); x = sc.nextInt(); y = sc.nextInt(); r = sc.nextInt(); if ((x + r) > W && (y + r) < H && (x - r) > 0 && (y - r) >...
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W, H, x, y, r; W = sc.nextInt(); H = sc.nextInt(); x = sc.nextInt(); y = sc.nextInt(); r = sc.nextInt(); if ((x + r) <= W && (y + r) <= H && (x - r) >= 0 && (y - r)...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47]...
3
147
import java.io.*; class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String num1 = br.readLine(); String[] num2 = num1.split(" "); int W = Integer.parseInt(num2[0]); int H = Integer.parseInt(num2[1]); ...
import java.io.*; class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String num1 = br.readLine(); String[] num2 = num1.split(" "); int W = Integer.parseInt(num2[0]); int H = Integer.parseInt(num2[1]); ...
[["-", 49, 200, 51, 492, 3, 4, 0, 504, 71, 499], ["+", 49, 200, 51, 492, 3, 4, 0, 504, 71, 499]]
3
197
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); String str = buf.readLine(); String[] j = str.split(" "); int w = Integer.parseInt(j[0]); int h = Integer.parseInt(j[1]); ...
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); String str = buf.readLine(); String[] j = str.split(" "); int w = Integer.parseInt(j[0]); int h = Integer.parseInt(j[1]); ...
[["-", 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]]
3
186
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] resultArray = str.s...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); String[] resultArray = str.s...
[["-", 15, 15, 0, 16, 31, 16, 31, 16, 17, 98], ["+", 15, 15, 0, 16, 31, 16, 31, 16, 17, 106], ["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 98], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 106], ["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 98], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 106]]
3
204
import java.util.Scanner; public class Main { public static void main(String[] args) { int W, H, x, y, r; Scanner scan = new Scanner(System.in); W = scan.nextInt(); H = scan.nextInt(); x = scan.nextInt(); y = scan.nextInt(); r = scan.nextInt(); if (0 <= x - r && x + r <= W) { ...
import java.util.Scanner; public class Main { public static void main(String[] args) { int W, H, x, y, r; Scanner scan = new Scanner(System.in); W = scan.nextInt(); H = scan.nextInt(); x = scan.nextInt(); y = scan.nextInt(); r = scan.nextInt(); if (0 <= x - r && x + r <= W) { ...
[["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
187
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner inputscan = new Scanner(System.in); int W = inputscan.nextInt(); int H = inputscan.nextInt(); int x = inputscan.nextInt(); int y = inputscan.nextInt(); int r = inputscan.nextInt(); int Horizo...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner inputscan = new Scanner(System.in); int W = inputscan.nextInt(); int H = inputscan.nextInt(); int x = inputscan.nextInt(); int y = inputscan.nextInt(); int r = inputscan.nextInt(); int Horizo...
[["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 19], ["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
153
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scan = new Scanner(System.in)) { int width = scan.nextInt(); int height = scan.nextInt(); int x = scan.nextInt(); int y = scan.nextInt(); int radius = scan.nextInt(); if ((x +...
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scan = new Scanner(System.in)) { int width = scan.nextInt(); int height = scan.nextInt(); int x = scan.nextInt(); int y = scan.nextInt(); int radius = scan.nextInt(); if ((x +...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19]]
3
145
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner num = new Scanner(System.in); int W = num.nextInt(); int H = num.nextInt(); int x = num.nextInt(); int y = num.nextInt(); int r = num.nextInt(); if (x > r && y > r) { if (W - x > r && H ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner num = new Scanner(System.in); int W = num.nextInt(); int H = num.nextInt(); int x = num.nextInt(); int y = num.nextInt(); int r = num.nextInt(); if (x >= r && y >= r) { if (W - x >= r &&...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 20]]
3
143
import java.util.*; class Main { public static void main(String args[]) { Scanner s = new Scanner(System.in); String indata; indata = s.next(); int wide = Integer.parseInt(indata); indata = s.next(); int hight = Integer.parseInt(indata); indata = s.next(); int x = Integer.parseInt(inda...
import java.util.*; class Main { public static void main(String args[]) { Scanner s = new Scanner(System.in); String indata; indata = s.next(); int wide = Integer.parseInt(indata); indata = s.next(); int hight = Integer.parseInt(indata); indata = s.next(); int x = Integer.parseInt(inda...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47]...
3
176
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // Your code here! BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String lines[] = line.split(" ", 0);...
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // Your code here! BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String lines[] = line.split(" ", 0);...
[["-", 8, 196, 0, 503, 49, 200, 51, 5, 0, 491], ["+", 8, 196, 0, 503, 49, 200, 51, 5, 0, 491], ["-", 64, 196, 0, 1, 0, 11, 12, 5, 0, 491], ["+", 64, 196, 0, 1, 0, 11, 12, 5, 0, 491]]
3
189
import java.io.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); String str = input.readLine(); String[] str2 = str.split(" "); int W = Integer.parseInt(str2[0]); int H = Integer.parseInt(st...
import java.io.*; public class Main { public static void main(String[] args) throws Exception { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); String str = input.readLine(); String[] str2 = str.split(" "); int W = Integer.parseInt(str2[0]); int H = Integer.parseInt(st...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47]...
3
182
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner a = new Scanner(System.in); int W = a.nextInt(), H = a.nextInt(), x = a.nextInt(), y = a.nextInt(), r = a.nextInt(); String b; if (x + r < W && x - r > 0) { if (y + r < H && y - r > 0) { ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner a = new Scanner(System.in); int W = a.nextInt(), H = a.nextInt(), x = a.nextInt(), y = a.nextInt(), r = a.nextInt(); String b; if (x + r <= W && x - r >= 0) { if (y + r <= H && y - r >= 0) {...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 18], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 20]]
3
144
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inputValue = br.readLine(); String[] inputData = ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inputValue = br.readLine(); String[] inputData = i...
[["-", 0, 195, 8, 196, 0, 503, 49, 200, 141, 22], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 141, 22]]
3
196
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int w = scanner.nextInt(); int h = scanner.nextInt(); int x = scanner.nextInt(); int y = scanner.nextInt(); int r = scanner.nextInt(); if (x - r > 0 && y - r > 0 && x...
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int w = scanner.nextInt(); int h = scanner.nextInt(); int x = scanner.nextInt(); int y = scanner.nextInt(); int r = scanner.nextInt(); if (x - r >= 0 && y - r >= 0 &&...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18]...
3
132
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); try { String ab = input.readLine(); String[] strAry = ab.split(...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); try { String ab = input.readLine(); String[] strAry = ab.split(...
[["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
217
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] lines = br.readLine().split(" "); int[] list = n...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] lines = br.readLine().split(" "); int[] list = n...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 20]...
3
200
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); String s = new String(); if ((x + r) <= W && (x + r...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); String s = new String(); if ((x + r) <= W && (x - r...
[["-", 31, 16, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 31, 16, 12, 16, 31, 23, 0, 16, 17, 33], ["-", 0, 16, 12, 16, 31, 23, 0, 16, 17, 72], ["+", 0, 16, 12, 16, 31, 23, 0, 16, 17, 33]]
3
148
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if ((W - x - r >= 0) && (H - y - r >= 0) && (x > r) && ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if ((W - x - r >= 0) && (H - y - r >= 0) && (x >= r) &&...
[["-", 0, 16, 31, 16, 12, 23, 0, 16, 17, 47], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 17, 20], ["-", 15, 15, 0, 16, 12, 23, 0, 16, 17, 47], ["+", 15, 15, 0, 16, 12, 23, 0, 16, 17, 20]]
3
141
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine()...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine()...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47]...
3
207
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); List<String> store = new ArrayList<String>(); while (sc.hasNextLine()) { store.add(sc.nextLine()); } String[] input = store.get(0).split(" "); int W = Integer.parseInt(input[0])...
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); List<String> store = new ArrayList<String>(); while (sc.hasNextLine()) { store.add(sc.nextLine()); } String[] input = store.get(0).split(" "); int W = Integer.parseInt(input[0])...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18]...
3
202
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int W, H, x, y, r; W = scan.nextInt(); H = scan.nextInt(); x = scan.nextInt(); y = scan.nextInt(); r = scan.nextInt(); if (x - r >= 0 && y - r >= 0 && x + r <...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int W, H, x, y, r; W = scan.nextInt(); H = scan.nextInt(); x = scan.nextInt(); y = scan.nextInt(); r = scan.nextInt(); if (x - r >= 0 && y - r >= 0 && x + r <...
[["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
139
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x + r >= W) { if (x - r <= 0) { if (...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x + r <= W) { if (x - r >= 0) { if (...
[["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 20], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19], ["-", 64, 196, 0, 57, 15, 15, 0, 16, 17, 19], ["+", 64, 196, 0, 57, 15, 15, 0, 16, 17, 20], ["-", 64, 196, 0, 57, 15, 15, 0, 16, 17, 20], ["+", 64, 196, 0, 57, 15, 15, 0, 16, 17, 19]]
3
179
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (((x - r) > 0) && ((x + r) < W) && ((y - r) > 0)...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (((x - r) >= 0) && ((x + r) <= W) && ((y - r) >=...
[["-", 31, 16, 31, 16, 31, 23, 0, 16, 17, 47], ["+", 31, 16, 31, 16, 31, 23, 0, 16, 17, 20], ["-", 31, 16, 31, 16, 12, 23, 0, 16, 17, 18], ["+", 31, 16, 31, 16, 12, 23, 0, 16, 17, 19], ["-", 0, 16, 31, 16, 12, 23, 0, 16, 17, 47], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 17, 20], ["-", 15, 15, 0, 16, 12, 23, 0, 16, 17, 18], ...
3
155
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int h = sc.nextInt(); int w = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x > 0 && x < h - r && y > 0 && y < w - r) { ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int h = sc.nextInt(); int w = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x >= r && x <= h - r && y >= r && y <= w - r) { ...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["-", 0, 16, 31, 16, 31, 16, 31, 16, 12, 499], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 12, 22], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 4...
3
129
import java.util.Scanner; public class Main { Main() { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (r <= x && r + x < W && r <= y && r + y < H) { System.out.println("Yes"); ...
import java.util.Scanner; public class Main { Main() { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (r <= x && r + x <= W && r <= y && r + y <= H) { System.out.println("Yes"); ...
[["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 19]]
3
139
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int W = scan.nextInt(); int H = scan.nextInt(); int x = scan.nextInt(); int y = scan.nextInt(); int r = scan.nextInt(); String result = "Yes"; if (x - r <= 0 || x ...
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int W = scan.nextInt(); int H = scan.nextInt(); int x = scan.nextInt(); int y = scan.nextInt(); int r = scan.nextInt(); String result = "Yes"; if (x - r < 0 || x +...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 20]...
3
135
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); int a, b, c, d; a = x + r; b = x - r; c = y...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); int a, b, c, d; a = x + r; b = x - r; c = y...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47]...
3
158
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a[] = new int[5]; for (int i = 0; i < 5; i++) a[i] = sc.nextInt(); int W = a[0]; int H = a[1]; int x = a[2]; int y = a[3]; int r = a[4]; if ((x - r) > 0...
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a[] = new int[5]; for (int i = 0; i < 5; i++) a[i] = sc.nextInt(); int W = a[0]; int H = a[1]; int x = a[2]; int y = a[3]; int r = a[4]; if ((x - r) >= ...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18]...
3
172
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x - r < 0 || W < x + r || y - r < 0 || H < y + r) {...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x - r < 0 || W < x + r || y - r < 0 || H < y + r) {...
[["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]]
3
133
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x - r < 0 || x + r > W) { System.out.println...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x - r < 0 || x + r > W) { System.out.println...
[["-", 15, 15, 0, 16, 12, 16, 31, 16, 31, 22], ["+", 15, 15, 0, 16, 12, 16, 31, 16, 31, 22]]
3
174
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (0 <= y - r & H >= y + r & 0 <= x - r & W >= x + y)...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (0 <= y - r & H >= y + r & 0 <= x - r & W >= x + r)...
[["-", 15, 15, 0, 16, 12, 16, 12, 16, 12, 22], ["+", 15, 15, 0, 16, 12, 16, 12, 16, 12, 22]]
3
139
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int s[] = new int[5]; int x1, x2, y1, y2, i; for (i = 0; i < 5; i++) { s[i] = sc.nextInt(); } x1 = s[2] - s[4]; x2 = s[2] + s[4]; ...
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int s[] = new int[5]; int x1, x2, y1, y2, i; for (i = 0; i < 5; i++) { s[i] = sc.nextInt(); } x1 = s[2] - s[4]; x2 = s[2] + s[4]; ...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 47], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18], ["+", 0, 57, 15, 15, 0, 16, 12, 16, 17, 19]]
3
215
import java.util.Arrays; import java.util.Scanner; public class Main { void run() { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x - r > 0 && y - r > 0 && x + r < W && y + r < H) ...
import java.util.Arrays; import java.util.Scanner; public class Main { void run() { Scanner sc = new Scanner(System.in); int W = sc.nextInt(); int H = sc.nextInt(); int x = sc.nextInt(); int y = sc.nextInt(); int r = sc.nextInt(); if (x - r >= 0 && y - r >= 0 && x + r <= W && y + r <= H) ...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 18]...
3
152
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] ary = new int[5]; ary[0] = sc.nextInt(); ary[1] = sc.nextInt(); ary[2] = sc.nextInt(); ary[3] = sc.nextInt(); ary[4] = sc.nextInt(); if ((ary[2] + ary[4]) < ary[0...
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] ary = new int[5]; ary[0] = sc.nextInt(); ary[1] = sc.nextInt(); ary[2] = sc.nextInt(); ary[3] = sc.nextInt(); ary[4] = sc.nextInt(); if ((ary[2] + ary[4]) <= ary[...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19], ["-", 15, 15, 0, 16, 31, 16, 12, 16, 17, 47], ["+", 15, 15, 0, 16, 31, 16, 12, 16, 17, 20], ["-", 0, 57, 15, 15, 0, 16, 12, 16, 17, 47]...
3
184
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] input = sc.nextLine().split(" "); int W = Integer.parseInt(input[0]); int H = Integer.parseInt(input[1]); int x = Integer.parseInt(input[2]); int y = Integer.pa...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] input = sc.nextLine().split(" "); int W = Integer.parseInt(input[0]); int H = Integer.parseInt(input[1]); int x = Integer.parseInt(input[2]); int y = Integer.pa...
[["-", 75, 57, 15, 15, 0, 16, 31, 16, 12, 22], ["+", 75, 57, 15, 15, 0, 16, 31, 16, 12, 22]]
3
215
'use strict'; (function(stdin) { var line = stdin.split('\n'); var param = line[0].split(' ').map(Number); var result = (function(width, height, x, y, r) { return {true : 'No', false : 'Yes'}[y + r > height, y - r < 0, x - r<0, x + r>width] .some(function(v) { return v; }); }(param[0], param[1], param...
'use strict'; (function(stdin) { var line = stdin.split('\n'); var param = line[0].split(' ').map(Number); var result = (function(width, height, x, y, r) { return { true: 'No', false: 'Yes' } [[ y + r > height, y - r < 0, x - r<0, x + r>width ].some(function( v) { return v; })]; }(param[0], param[1], param[2]...
[["+", 0, 69, 71, 2, 63, 558, 500, 516, 0, 70], ["+", 63, 63, 8, 556, 0, 37, 0, 69, 0, 73]]
2
170
'use strict'; (function(stdin) { var greaterOrEqualZero = function(v) { return v >= 0; }; var inputs = stdin.toString().trim().split('\n'); var params = inputs[0].split(' ').map(Number); (function(W, H, x, y, r) { // ???????????????????????? // return { true: 'Yes', false: 'No' } [[ W - (x + r), H - (y + r), x - r, y -...
'use strict'; (function(stdin) { var greaterOrEqualZero = function(v) { return v >= 0; }; var inputs = stdin.toString().trim().split('\n'); var params = inputs[0].split(' ').map(Number); (function(W, H, x, y, r) { // ???????????????????????? // console.log({ true: 'Yes', false: 'No' }[ [ W - (x + r), H - (y + r), x...
[["-", 0, 2, 63, 63, 8, 556, 0, 37, 0, 38], ["+", 8, 556, 0, 1, 0, 2, 63, 558, 500, 22], ["+", 8, 556, 0, 1, 0, 2, 63, 558, 0, 131], ["+", 8, 556, 0, 1, 0, 2, 63, 558, 559, 560], ["+", 8, 556, 0, 1, 0, 2, 3, 3, 0, 24], ["+", 8, 556, 0, 1, 0, 2, 3, 3, 0, 25]]
2
179
(function(stdin) { var line = stdin.toString().split(' '); var resolt = (function(width, height, x, y, r) { return (y + r > height || x + r > width || x - r < 0 || y - r < 0) ? "No" : "Yes"; }(line[0], line[1], line[2], line[3], line[4])); console.l...
(function(stdin) { var line = stdin.toString().split(' ').map(Number); var resolt = (function(width, height, x, y, r) { return (y + r > height || x + r > width || x - r < 0 || y - r < 0) ? "No" : "Yes"; }(line[0], line[1], line[2], line[3], line[4])...
[["+", 0, 198, 0, 200, 51, 2, 63, 558, 0, 131], ["+", 0, 198, 0, 200, 51, 2, 63, 558, 559, 560], ["+", 0, 198, 0, 200, 51, 2, 3, 3, 0, 24], ["+", 0, 198, 0, 200, 51, 2, 3, 3, 0, 22], ["+", 0, 198, 0, 200, 51, 2, 3, 3, 0, 25]]
2
132
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var nums = chunk.split(" "); for (var i = 0; i < nums.length; i++) { nums[i] = Number(nums[i]); } var rec = new Array(nums[0], nums[1]); var cir = new Array(nums[2], nums[3], nums[4]); // point x, point y...
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var nums = chunk.split(" "); for (var i = 0; i < nums.length; i++) { nums[i] = Number(nums[i]); } var rec = new Array(nums[0], nums[1]); var cir = new Array(nums[2], nums[3], nums[4]); // point x, point y...
[["-", 15, 23, 0, 16, 31, 23, 0, 16, 17, 47], ["+", 15, 23, 0, 16, 31, 23, 0, 16, 17, 20], ["-", 15, 23, 0, 16, 12, 23, 0, 16, 17, 18], ["+", 15, 23, 0, 16, 12, 23, 0, 16, 17, 19]]
2
210
function main(input) { var a = input[0].split(' '); var w = parseInt(a[0]) var h = parseInt(a[1]) var x = parseInt(a[2]) var y = parseInt(a[3]) var r = parseInt(a[4]) if (((x + r) < w) & ((x - r) > 0) & ((y + r) < h) & ((y - r) > 0)) { console.log("Yes") } else { console.log("No") } } var ...
function main(input) { var a = input[0].split(' '); var w = parseInt(a[0]) var h = parseInt(a[1]) var x = parseInt(a[2]) var y = parseInt(a[3]) var r = parseInt(a[4]) if (((x + r) <= w) & ((x - r) >= 0) & ((y + r) <= h) & ((y - r) >= 0)) { console.log("Yes") } else { console.log("No") } } ...
[["-", 31, 16, 31, 16, 31, 23, 0, 16, 17, 18], ["+", 31, 16, 31, 16, 31, 23, 0, 16, 17, 19], ["-", 31, 16, 31, 16, 12, 23, 0, 16, 17, 47], ["+", 31, 16, 31, 16, 12, 23, 0, 16, 17, 20], ["-", 0, 16, 31, 16, 12, 23, 0, 16, 17, 18], ["+", 0, 16, 31, 16, 12, 23, 0, 16, 17, 19], ["-", 15, 23, 0, 16, 12, 23, 0, 16, 17, 47], ...
2
215
'use strict'; (function(stdin) { var inputs = stdin.toString().trim().split('\n')[0]; var params = inputs.split('\n')[0].split(' ').map(Number); (function(W, H, x, y, r) { if (x - r < 0 || y - r < 0 || x + y > W || y + r > H) { console.log('No'); } else { console.log('Yes'); } //???????????????????????? }(params[0...
'use strict'; (function(stdin) { var inputs = stdin.toString().trim().split('\n')[0]; var params = inputs.split('\n')[0].split(' ').map(Number); (function(W, H, x, y, r) { // var check = [x - r < 0 , y - r < 0 , x + y > W , y + r > H]; // console.log(check); if (x - r < 0 || y - r < 0 || x + r > W || y + r > H) { co...
[["-", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22], ["+", 0, 16, 31, 16, 12, 16, 31, 16, 12, 22]]
2
175
'use strict'; (function(stdin) { var inputs = stdin.toString(); var params = inputs.split('\n')[0].split(' ').map(Number); (function(W, H, x, y, r) { if (x + r < W && y + r < H && y - r >= 0 && x - r >= 0) { console.log('Yes'); } else { console.log('No'); } //???????????????????????? }(params[0], params[1], params[...
'use strict'; (function(stdin) { var inputs = stdin.toString(); var params = inputs.split('\n')[0].split(' ').map(Number); (function(W, H, x, y, r) { if (x + r <= W && y + r <= H && y - r >= 0 && x - r >= 0) { console.log('Yes'); } else { console.log('No'); } }(params[0], params[1], params[2], params[3], params[4])...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 19], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 19]]
2
161
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var data = chunk.replace(/\n/, '').split(' '); var W = +data[0], H = +data[1], x = +data[2], y = +data[3], r = +data[4]; if (0 <= x + r && x + r <= W && 0 <= y + r && y + r <= H) { console.log('Yes'); } e...
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var data = chunk.replace(/\n/, '').split(' '); var W = +data[0], H = +data[1], x = +data[2], y = +data[3], r = +data[4]; if (0 <= x - r && x + r <= W && 0 <= y - r && y + r <= H) { console.log('Yes'); } e...
[["-", 31, 16, 31, 16, 31, 16, 12, 16, 17, 72], ["+", 31, 16, 31, 16, 31, 16, 12, 16, 17, 33], ["-", 0, 16, 31, 16, 12, 16, 12, 16, 17, 72], ["+", 0, 16, 31, 16, 12, 16, 12, 16, 17, 33]]
2
149
'use strict'; process.stdin.on('data', function(chunk) { var inputs = chunk.toString().trim().split(' '); var W = Number(inputs[0]); var H = Number(inputs[1]); var x = Number(inputs[2]); var y = Number(inputs[3]); var r = Number(inputs[4]); var x0 = W - x - r; var x1 = W - x + r; var y0 = H - y - r; ...
'use strict'; process.stdin.on('data', function(chunk) { var inputs = chunk.toString().trim().split(' '); var W = Number(inputs[0]); var H = Number(inputs[1]); var x = Number(inputs[2]); var y = Number(inputs[3]); var r = Number(inputs[4]); var x0 = W - x - r; var x1 = W - x + r; var y0 = H - y - r; ...
[["-", 0, 16, 12, 23, 0, 16, 31, 16, 17, 19], ["+", 0, 16, 12, 23, 0, 16, 31, 16, 17, 20], ["-", 0, 16, 12, 23, 0, 16, 12, 16, 17, 20], ["+", 0, 16, 12, 23, 0, 16, 12, 16, 17, 19]]
2
197
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var line = chunk.split(' '); var W = Number(line[0]); var H = Number(line[1]); var x = Number(line[2]); var y = Number(line[3]); var r = Number(line[4]); if (W > x + r && H > y + r && 0 < x - r && 0 < y ...
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var line = chunk.split(' '); var W = Number(line[0]); var H = Number(line[1]); var x = Number(line[2]); var y = Number(line[3]); var r = Number(line[4]); if (W >= x + r && H >= y + r && 0 <= x - r && 0 <...
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 20], ["-", 0, 16, 31, 16, 31, 16, 12, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 12, 16, 17, 20], ["-", 15, 23, 0, 16, 31, 16, 12, 16, 17, 18], ["+", 15, 23, 0, 16, 31, 16, 12, 16, 17, 19], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 17, 18]...
2
151
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var line = chunk.split(' '); var x = Number(line[0]); var y = Number(line[1]); var r = Number(line[2]); var H = Number(line[3]); var W = Number(line[4]); if (W >= x + r && H >= y + r && 0 <= x - r && 0 ...
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { var line = chunk.split(' '); var W = Number(line[0]); var H = Number(line[1]); var x = Number(line[2]); var y = Number(line[3]); var r = Number(line[4]); if (W >= x + r && H >= y + r && 0 <= x - r && 0 ...
[["-", 0, 63, 8, 556, 0, 198, 0, 200, 141, 22], ["+", 0, 63, 8, 556, 0, 198, 0, 200, 141, 22]]
2
153
'use strict'; (function(stdin) { // declare function // declare variable var inputs = stdin.toString().trim().split(' ').map(Number); // main if (inputs[0] > inputs[2] + inputs[4]) { if (inputs[1] > inputs[3] + inputs[4]) { if (0 <= inputs[2] - inputs[4]) { if (0 <= inputs[3] - inputs[4]) { console...
'use strict'; (function(stdin) { // declare function // declare variable var inputs = stdin.toString().trim().split(' ').map(Number); // main if (inputs[0] >= inputs[2] + inputs[4]) { if (inputs[1] >= inputs[3] + inputs[4]) { if (0 <= inputs[2] - inputs[4]) { if (0 <= inputs[3] - inputs[4]) { conso...
[["-", 8, 556, 0, 57, 15, 23, 0, 16, 17, 47], ["+", 8, 556, 0, 57, 15, 23, 0, 16, 17, 20], ["-", 64, 556, 0, 57, 15, 23, 0, 16, 17, 47], ["+", 64, 556, 0, 57, 15, 23, 0, 16, 17, 20]]
2
151
'use strict'; (function(stdin) { var inputs = stdin.toString().trim().split('\n'); var params = inputs[0].split(' ').map(Number); (function(W, H, x, y, r) { var xMin = 0 <= x - r; var yMin = 0 <= y - r; var xMax = 0 <= W - (x + r); var yMax = 0 <= H - (y + r); var result = xMin || yMin || xMax || yMax ? 'Yes' : 'No'; ...
'use strict'; (function(stdin) { var inputs = stdin.toString().trim().split('\n'); var params = inputs[0].split(' ').map(Number); (function(W, H, x, y, r) { var xMin = 0 <= x - r; var yMin = 0 <= y - r; var xMax = 0 <= W - (x + r); var yMax = 0 <= H - (y + r); var result = xMin && yMin && xMax && yMax ? 'Yes' : 'No'; ...
[["-", 51, 510, 15, 16, 31, 16, 31, 16, 17, 106], ["+", 51, 510, 15, 16, 31, 16, 31, 16, 17, 98], ["-", 0, 200, 51, 510, 15, 16, 31, 16, 17, 106], ["+", 0, 200, 51, 510, 15, 16, 31, 16, 17, 98], ["-", 0, 198, 0, 200, 51, 510, 15, 16, 17, 106], ["+", 0, 198, 0, 200, 51, 510, 15, 16, 17, 98]]
2
186
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(input) { //??\???????????????????????????????????? var inputArray = input.split(' '); //??\?????????????????°???????????? var num = inputArray.map(function(x) { return parseInt(x); }); //????????????[W,H,x,y,r] var ...
process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(input) { //??\???????????????????????????????????? var inputArray = input.split(' '); //??\?????????????????°???????????? var num = inputArray.map(function(x) { return parseInt(x); }); var W = num[0]; var H = num[1...
[["-", 15, 23, 0, 16, 31, 16, 31, 16, 17, 67], ["+", 15, 23, 0, 16, 31, 16, 31, 16, 17, 106], ["-", 0, 57, 15, 23, 0, 16, 31, 16, 17, 67], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 17, 106], ["-", 8, 556, 0, 57, 15, 23, 0, 16, 17, 67], ["+", 8, 556, 0, 57, 15, 23, 0, 16, 17, 106]]
2
177
var input = require('fs').readFileSync('/dev/stdin', 'utf8'); var sp = input.split(" "); var W = sp[0]; H = sp[1]; x = sp[2]; y = sp[3]; r = sp[4]; if (r <= x && x <= (W - r) && r <= y && y <= (H - r)) { console.log("Yes"); } else { console.log("No"); }
var input = require('fs').readFileSync('/dev/stdin', 'utf8'); var sp = input.split(" ").map(Number); var W = sp[0]; H = sp[1]; x = sp[2]; y = sp[3]; r = sp[4]; if (r <= x && x <= (W - r) && r <= y && y <= (H - r)) { console.log("Yes"); } else { console.log("No"); }
[["+", 0, 198, 0, 200, 51, 2, 63, 558, 0, 131], ["+", 0, 198, 0, 200, 51, 2, 63, 558, 559, 560], ["+", 0, 198, 0, 200, 51, 2, 3, 3, 0, 24], ["+", 0, 198, 0, 200, 51, 2, 3, 3, 0, 22], ["+", 0, 198, 0, 200, 51, 2, 3, 3, 0, 25]]
2
118
process.stdin.setEncoding('utf-8'); process.stdin.on('data', input => { var whrxy = input.split(' ').map(Number); const w = whrxy[0]; const h = whrxy[1]; const x = whrxy[2]; const y = whrxy[3]; const r = whrxy[4]; const a = x >= r; const b = x <= w - r; const c = y >= r; const d = y <= h - r; if...
process.stdin.setEncoding('utf-8'); process.stdin.on('data', input => { var whrxy = input.split(' ').map(Number); const w = whrxy[0]; const h = whrxy[1]; const x = whrxy[2]; const y = whrxy[3]; const r = whrxy[4]; const a = x >= r; const b = x <= w - r; const c = y >= r; const d = y <= h - r; if...
[["-", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491], ["+", 0, 1, 0, 2, 3, 3, 0, 557, 0, 491]]
2
148
<?php list($w,$h,$x,$y,$r) = explode(" ", trim(fgets(STDIN))); echo $x + $r <= $w && $x + $r >= 0 && $y + $r <= $h && $y + $r >= 0 ? "Yes\n" : "No\n";
<?php list($w,$h,$x,$y,$r) = explode(" ", trim(fgets(STDIN))); echo $x + $r <= $w && $x - $r >= 0 && $y + $r <= $h && $y - $r >= 0 ? "Yes\n" : "No\n";
[["-", 31, 16, 31, 16, 12, 16, 31, 16, 17, 72], ["+", 31, 16, 31, 16, 12, 16, 31, 16, 17, 33], ["-", 0, 41, 15, 16, 12, 16, 31, 16, 17, 72], ["+", 0, 41, 15, 16, 12, 16, 31, 16, 17, 33]]
6
79
<?php $stdin = explode(" ", trim(fgets(STDIN))); $rectangle = array( $stdin[0], $stdin[1] ); $circle_width = array($stdin[2] - $stdin[4], $stdin[2] + $stdin[4]); $circle_height = array($stdin[3] - $stdin[4], $stdin[3] + $stdin[4]); if (0 <= $circle_width[0] && $circle_width[1] <= $rectangle[0] && 0 <= $ci...
<?php $stdin = explode(" ", trim(fgets(STDIN))); $rectangle = array( $stdin[0], $stdin[1] ); $circle_width = array($stdin[2] - $stdin[4], $stdin[2] + $stdin[4]); $circle_height = array($stdin[3] - $stdin[4], $stdin[3] + $stdin[4]); if (0 <= $circle_width[0] && $circle_width[1] <= $rectangle[0] && 0 <= $ci...
[["-", 8, 9, 0, 608, 0, 16, 31, 609, 0, 610], ["+", 8, 9, 0, 608, 0, 16, 31, 609, 0, 610]]
6
158
<?php $input = trim(fgets(STDIN)); list($w,$h,$x,$y,$r)= explode(" ", $input); if(($x - $r) >= 0 || ($x + $r) <= $w || ($y - $r) >= 0 || ($y + $r) <= $h){ echo "Yes\n"; }else{ echo "No\n"; }
<?php $input = trim(fgets(STDIN)); list($w,$h,$x,$y,$r)= explode(" ", $input); if(($x - $r) >= 0 && ($x + $r) <= $w && ($y - $r) >= 0 && ($y + $r) <= $h){ echo "Yes\n"; }else{ echo "No\n"; }
[["-", 15, 23, 0, 16, 31, 16, 31, 16, 17, 106], ["+", 15, 23, 0, 16, 31, 16, 31, 16, 17, 98], ["-", 0, 57, 15, 23, 0, 16, 31, 16, 17, 106], ["+", 0, 57, 15, 23, 0, 16, 31, 16, 17, 98], ["-", 0, 493, 0, 57, 15, 23, 0, 16, 17, 106], ["+", 0, 493, 0, 57, 15, 23, 0, 16, 17, 98]]
6
101
<?php $input =trim(fgets(STDIN)); $input=explode(" ",$input); $w=$input[0]; $h=$input[1]; $x=$input[2]; $y=$input[3]; $r=$input[4]; if($x -$r < 0 || $w < $y+$r){ echo "No"; } elseif($y -$r < 0 || $h < $y+$r){ echo "No"; } else echo "Yes"; ?>
<?php $input =trim(fgets(STDIN)); $input=explode(" ",$input); $w=$input[0]; $h=$input[1]; $x=$input[2]; $y=$input[3]; $r=$input[4]; if($x -$r < 0 || $w < $x+$r){ echo "No"; } elseif($y -$r < 0 || $h < $y+$r){ echo "No"; } else echo "Yes"; ?>
[["-", 0, 16, 12, 16, 12, 16, 31, 606, 0, 141], ["+", 0, 16, 12, 16, 12, 16, 31, 606, 0, 141]]
6
129
<?php $array = explode(' ', trim(fgets(STDIN))); //echo var_dump($array[4]); if ($array[1] > $array[3] + $array[4] || 0 > $array[3] - $array[4] || 0 > $array[2] - $array[4] || $array[0] > $array[2] + $array[4] ) { echo "Yes"; }else{ echo "No"; } ?>
<?php $array = explode(' ', trim(fgets(STDIN))); //echo var_dump($array[4]); if ($array[1] < $array[3] + $array[4] || 0 > $array[3] - $array[4] || 0 > $array[2] - $array[4] || $array[0] < $array[2] + $array[4] ) { echo "No"; }else{ echo "Yes"; } ?>
[["-", 0, 16, 31, 16, 31, 16, 31, 16, 17, 47], ["+", 0, 16, 31, 16, 31, 16, 31, 16, 17, 18], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 17, 47], ["+", 0, 57, 15, 23, 0, 16, 12, 16, 17, 18], ["-", 0, 57, 8, 9, 0, 608, 0, 609, 0, 610], ["+", 0, 57, 8, 9, 0, 608, 0, 609, 0, 610], ["-", 75, 76, 8, 9, 0, 608, 0, 609, 0, 610], ["+"...
6
102
<?php $input = explode(' ',trim(fgets(STDIN))); $w = $input[0]; $h = $input[1]; $x = $input[2]; $y = $input[3]; $r = $input[4]; $rx1 = $x+$r; $rx2 = $x-$r; $ry1 = $y+$r; $ry2 = $y-$r; if(($rx1<=$w and $ry1<$h) and ($rx2>=0 and $ry2>=0)){ echo "Yes"; }else{ echo "No"; } ?>
<?php $input = explode(' ',trim(fgets(STDIN))); $w = $input[0]; $h = $input[1]; $x = $input[2]; $y = $input[3]; $r = $input[4]; $rx1 = $x+$r; $rx2 = $x-$r; $ry1 = $y+$r; $ry2 = $y-$r; if(($rx1<=$w and $ry1<=$h) and ($rx2>=0 and $ry2>=0)){ echo 'Yes'; }else{ echo 'No'; } ?>
[["-", 0, 16, 31, 23, 0, 16, 12, 16, 17, 18], ["+", 0, 16, 31, 23, 0, 16, 12, 16, 17, 19], ["-", 0, 57, 8, 9, 0, 608, 0, 609, 0, 62], ["+", 0, 57, 8, 9, 0, 608, 0, 557, 0, 104], ["-", 75, 76, 8, 9, 0, 608, 0, 609, 0, 62], ["+", 75, 76, 8, 9, 0, 608, 0, 557, 0, 104]]
6
144
<?php $line = fgets(STDIN); list($w, $h, $x, $y, $r) = explode(' ', $line); $c_l = $x - $r; $c_r = $x + $r; $c_t = $y + $r; $c_b = $y - $r; if (0 <= $c_l && $c_r <= $w && 0 <= $c_b && $c_t <= $h) echo "Yes\n"; echo "No\n";
<?php $line = fgets(STDIN); list($w, $h, $x, $y, $r) = explode(' ', $line); $c_l = $x - $r; $c_r = $x + $r; $c_t = $y + $r; $c_b = $y - $r; if (0 <= $c_l && $c_r <= $w && 0 <= $c_b && $c_t <= $h) echo "Yes\n"; else echo "No\n";
[["+", 36, 36, 0, 493, 0, 57, 75, 76, 0, 95]]
6
109
<?php $a=explode(' ',trim(fgets(STDIN))); if(($a[2]-$a[4]>=0)&($a[3]-$a[4]>=0)&($a[2]+$a[4]<=$a[0])&($a[3]+$a[4]<=$a[1])){echo 'No';} else{echo 'Yes';} ?>
<?php $a=explode(' ',trim(fgets(STDIN))); if(($a[2]-$a[4]>=0)&($a[3]-$a[4]>=0)&($a[2]+$a[4]<=$a[0])&($a[3]+$a[4]<=$a[1])){echo 'Yes';} else{echo 'No';} ?>
[["-", 0, 57, 8, 9, 0, 608, 0, 557, 0, 610], ["+", 0, 57, 8, 9, 0, 608, 0, 557, 0, 610], ["-", 75, 76, 8, 9, 0, 608, 0, 557, 0, 610], ["+", 75, 76, 8, 9, 0, 608, 0, 557, 0, 610]]
6
109