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
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')
[["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 3, 4, 0, 652, 3, 4, 0, 557, 0, 655]]
5
61
W, H, x, y, r = map(int, input().split()) if x + r <= W and y + r <= H and x - r >= 0 and y - r >= 0: print('1') else: print('0')
W, H, x, y, r = map(int, input().split()) if x + r <= W and y + r <= H and x - r >= 0 and y - r >= 0: 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=map(int,input().split()) if y+r<=H and y>=r and x+r<W and x>=r: print("Yes") else: print("No")
W,H,x,y,r=map(int,input().split()) if y+r<=H and y>=r and x+r<=W and x>=r: print("Yes") else: print("No")
[["-", 0, 57, 15, 679, 31, 679, 12, 666, 667, 18], ["+", 0, 57, 15, 679, 31, 679, 12, 666, 667, 19]]
5
57
w,h,x,y,r = [int(x) for x in input().split()] if x >= r and y >= r and (x+r) <= w and (y+r) <= h: print("yes") else: print("No")
w,h,x,y,r = [int(x) for x in input().split()] if x >= r and y >= r and (x+r) <= w 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
65
w, h, x, y, r = map(int, input.split()) if(x < r or y < r 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 or y < r or x + r > w or y + r > h): print("No") else: print("Yes")
[["+", 0, 652, 63, 319, 500, 652, 3, 4, 0, 24], ["+", 0, 652, 63, 319, 500, 652, 3, 4, 0, 25]]
5
57
W, H, x, y, r = int(input().split()) if(x < r or y < r): print("No") elif(x > (W - r) or y > (H - r)): print("No") else: print("Yes")
W, H, x, y, r = map(int, input().split()) if(x < r or y < r): print("No") elif(x > (W - r) or y > (H - r)): print("No") else: print("Yes")
[["-", 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
70
W, H, x, y, r= map(int, input(). split()) if (x-r)<0 | (x+r)>W | (y-r)<0 | (y+r)>H: print("No") else: print("Yes")
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") else: print("Yes")
[["-", 0, 656, 0, 57, 15, 666, 0, 657, 17, 139], ["+", 0, 57, 15, 679, 31, 679, 31, 679, 17, 354], ["+", 0, 656, 0, 57, 15, 679, 31, 679, 17, 354], ["+", 36, 36, 0, 656, 0, 57, 15, 679, 17, 354]]
5
69
#coding: UTF-8 W,H,x,y,r = [int(a) for a in input().split()] if r<x<W-r and r<y<H-r: print('Yes') else: print('No')
#coding: UTF-8 W,H,x,y,r = [int(a) for a in 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
58
# -*- coding: utf-8 -*- ### 長方形内に円が収まっているかを判定する。 ### 治っていれば Yes、いなければNo を出力する。 ### 図形は2次元平面上にある。 str_in = input() int_in = list(map(int, str_in.split())) rect_W = int_in[0] rect_H = int_in[1] circle_x = int_in[2] circle_y = int_in[3] circle_r = int_in[4] circle_x_max = circle_x + circle_r circle_x_min = circle_x -...
# -*- coding: utf-8 -*- ### 長方形内に円が収まっているかを判定する。 ### 治っていれば Yes、いなければNo を出力する。 ### 図形は2次元平面上にある。 str_in = input() int_in = list(map(int, str_in.split())) rect_W = int_in[0] rect_H = int_in[1] circle_x = int_in[2] circle_y = int_in[3] circle_r = int_in[4] circle_x_max = circle_x + circle_r circle_x_min = circle_x -...
[["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]]
5
109
Ns = list(map(int,input().split())) if (Ns[2]- Ns[4] >= 0) and (Ns[2] + Ns[4] <= Ns[1]) and (Ns[3] - Ns[4] >= 0) and (Ns[3] + Ns[4] <= Ns[0]): print('Yes') else: print('No')
Ns = list(map(int,input().split())) if (Ns[2]- Ns[4] >= 0) and (Ns[2] + Ns[4] <= Ns[0]) and (Ns[3] - Ns[4] >= 0) and (Ns[3] + Ns[4] <= Ns[1]): print('Yes') else: print('No')
[["-", 31, 679, 12, 23, 0, 666, 0, 206, 206, 612], ["+", 31, 679, 12, 23, 0, 666, 0, 206, 206, 612], ["-", 15, 679, 12, 23, 0, 666, 0, 206, 206, 612], ["+", 15, 679, 12, 23, 0, 666, 0, 206, 206, 612]]
5
94
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")
[["-", 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
61
input_line = input() temp_list = input_line.split() w = int(temp_list[0]) h = int(temp_list[1]) x = int(temp_list[2]) y = int(temp_list[3]) r = int(temp_list[4]) if x >= r and y >= r and (w-x) <= r and (h-y) <= r: print("Yes") else: print("No")
input_line = input() temp_list = input_line.split() w = int(temp_list[0]) h = int(temp_list[1]) x = int(temp_list[2]) y = int(temp_list[3]) r = int(temp_list[4]) if x >= r and y >= r and (w-x) >= r and (h-y) >= r: 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], ["-", 0, 656, 0, 57, 15, 679, 12, 666, 667, 19], ["+", 0, 656, 0, 57, 15, 679, 12, 666, 667, 20]]
5
96
w,h,x,y,r = map(input().split()) print(['No','Yes'][(r<=x<=w-r)*(r<=y<=h-r)])
w,h,x,y,r = map(int,input().split()) print(['No','Yes'][(r<=x<=w-r)*(r<=y<=h-r)])
[["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21]]
5
53
w,h,x,y,r = map(int,input().split()) w -= r h -= r if x < w and x > r and y < h and y > r: print("Yes") else : print("No")
w,h,x,y,r = map(int,input().split()) w -= r h -= r if x <= w and x >= r and y <= h and 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, 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
59
(W,H,x,y,r)=list(map(int,input().split())) if r<=x & r<=y & x<=W-r & y<=H-r : print("Yes") else : print("No")
(W,H,x,y,r)=list(map(int,input().split())) if r<=x and r<=y and x<=W-r and y<=H-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
62
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
57
#! python3 # circle_in_a_rectangle.py W, H, x, y, r = [int(n) for n in input().split(' ')] if (0 <= x-r) and (x+r <= W) and (0 <= y-r) and (y+r <= H): print('YES') else: print('NO')
#! python3 # circle_in_a_rectangle.py W, H, x, y, r = [int(n) for n in 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
78
w, h, x, y, r = map(int, input().split()) if 0 <= (x-r) and (x+r) <= w: if 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: if 0 <= (y-r) and (y+r) <= h: print("Yes") exit() print("No")
[["-", 0, 57, 64, 196, 0, 57, 75, 76, 0, 95], ["-", 0, 57, 64, 196, 0, 57, 75, 76, 0, 102], ["+", 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, 25]]
5
70
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")
[["-", 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
57
w,h,x,y,r = map(int, raw_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')
[["-", 3, 4, 0, 652, 63, 319, 500, 652, 63, 22], ["+", 3, 4, 0, 652, 63, 319, 500, 652, 63, 22]]
5
61
p=[int(i) for i in input().split()] if p[4]<=p[2]<=p[0]-p[4] and p[4]<=p[3]<=p[1]-p[3]:print("Yes") else: print("No")
p=[int(i) for i in input().split()] if p[4]<=p[2]<=p[0]-p[4] and p[4]<=p[3]<=p[1]-p[4]:print("Yes") else: print("No")
[["-", 15, 679, 12, 666, 0, 657, 12, 206, 206, 612], ["+", 15, 679, 12, 666, 0, 657, 12, 206, 206, 612]]
5
73
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')
[["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655]]
5
53
W,H,x,y,r=map(int,input().split()) if min([x,y]>=r)and x<=(W-r) and y<=(H-r): print("Yes") else: print("No")
W,H,x,y,r=map(int,input().split()) if min([x,y])>=r and x<=(W-r) and y<=(H-r): print("Yes") else: print("No")
[["+", 31, 679, 31, 666, 0, 652, 3, 4, 0, 25], ["-", 15, 679, 31, 679, 31, 652, 3, 4, 0, 25]]
5
64
# Circle in a Rectangle a = [int(i) for i in input().rstrip().split()] rectangle = [a[0], a[1]] circleCenter = [a[2], a[3]] circleRadius = a[4] if a[2] - a[4] >= 0 and a[2] + a[4] <= a[0]: if a[3] - [4] >= 0 and a[3] + a[4] <= a[1]: print('Yes') else: print('No') else: print('No')
# Circle in a Rectangle a = [int(i) for i in input().rstrip().split()] rectangle = [a[0], a[1]] circleCenter = [a[2], a[3]] circleRadius = a[4] if a[2] - a[4] >= 0 and a[2] + a[4] <= a[0]: if a[3] - a[4] >= 0 and a[3] + a[4] <= a[1]: print('Yes') else: print('No') else: print('No')
[["+", 15, 679, 31, 666, 0, 657, 12, 206, 51, 22]]
5
132
def solve(line): w=line[0] h=line[1] x=line[2] y=line[3] r=line[4] if ( r <= x and x <= w - r ) and ( r <= y and y <= h - y ) : print("Yes") else: print("No") def answer(): s = input().split() line = list(map(int, s)) solve(line) if __name__ =='__main__'...
def solve(line): w=line[0] h=line[1] x=line[2] y=line[3] r=line[4] if ( r <= x and x <= w - r ) and ( r <= y and y <= h - r ) : print("Yes") else: print("No") def answer(): s = input().split() line = list(map(int, s)) solve(line) if __name__ =='__main__'...
[["-", 12, 23, 0, 679, 12, 666, 0, 657, 12, 22], ["+", 12, 23, 0, 679, 12, 666, 0, 657, 12, 22]]
5
114
import sys for i in sys.stdin: a, b = sorted(map(int, i.split())) if a != 0 and b != 0: print(a, b) else: break
import sys for i in sys.stdin: a, b = sorted(map(int, i.split())) if a != 0 or b != 0: print(a, b) else: break
[["-", 0, 7, 8, 196, 0, 57, 15, 679, 17, 355], ["+", 0, 7, 8, 196, 0, 57, 15, 679, 17, 354]]
5
44
n=[] line='' while line != [0,0]: line=list(map(int,input().split())) n.append(line) for i in range(len(n)-1): print('%d %d'%(n[i][0] if n[i][0]>=n[i][1] else n[i][1],n[i][0] if n[i][0]<=n[i][1] else n[i][1]))
n=[] line='' while line != [0,0]: line=list(map(int,input().split())) n.append(line) for i in range(len(n)-1): print('%d %d'%(n[i][0] if n[i][0]<=n[i][1] else n[i][1],n[i][0] if n[i][0]>=n[i][1] else n[i][1]))
[["-", 0, 657, 12, 660, 0, 41, 0, 666, 667, 20], ["+", 0, 657, 12, 660, 0, 41, 0, 666, 667, 19], ["-", 0, 657, 12, 660, 0, 41, 0, 666, 667, 19], ["+", 0, 657, 12, 660, 0, 41, 0, 666, 667, 20]]
5
125
while True: a, b = sorted([int(i) for i in input().split()]) if not(a or b): break print(b,a)
while True: a, b = sorted([int(i) for i in input().split()]) if not(a or b): break print(a,b)
[["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 21], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22]]
5
41
while True: case = input().split() if case[1] == "0" and case[0] == "0": break if case[1] < case[0]: print(case[1] +" "+ case[0]) else: print(case[0] +" "+ case[1])
while True: case = input().split() if case[1] == "0" and case[0] == "0": break if int(case[1]) < int(case[0]): print(case[1] +" "+ case[0]) else: print(case[0] +" "+ case[1])
[["+", 8, 196, 0, 57, 15, 666, 0, 652, 63, 22], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 24], ["+", 0, 57, 15, 666, 0, 652, 3, 4, 0, 25]]
5
77
def ex(x, y): if x < y: tmp = x x = y y = tmp return x, y def ex2num(): r1, r2 = input().split(" ") r1 = int(r1) r2 = int(r2) while (0 != r1) or (0 != r2): r1, r2 = ex(r1, r2) print(r1, r2) r1, r2 = input().split(" ") r1 = int(r1) ...
def ex(x, y): if x > y: tmp = x x = y y = tmp return x, y def ex2num(): r1, r2 = input().split(" ") r1 = int(r1) r2 = int(r2) while (0 != r1) or (0 != r2): r1, r2 = ex(r1, r2) print(r1, r2) r1, r2 = input().split(" ") r1 = int(r1) ...
[["-", 0, 14, 8, 196, 0, 57, 15, 666, 667, 18], ["+", 0, 14, 8, 196, 0, 57, 15, 666, 667, 47]]
5
126
def ex2num(): while (True): r1, r2 = input().split(" ") r1 = int(r1) r2 = int(r2) if (0 == r1) or (0 == r2): break if r1 < r2: print(r1, r2) else: print(r2, r1) return 0 if __name__ == "__main__": ret = ex2num()
def ex2num(): while (True): r1, r2 = input().split(" ") r1 = int(r1) r2 = int(r2) if (0 == r1) and (0 == r2): break if r1 < r2: print(r1, r2) else: print(r2, r1) return 0 if __name__ == "__main__": ret = ex2num()
[["-", 0, 52, 8, 196, 0, 57, 15, 679, 17, 354], ["+", 0, 52, 8, 196, 0, 57, 15, 679, 17, 355]]
5
83
while(True): i,j=input().split() if i != '0' and j != '0': if int(i) <= int(j): print('{} {}'.format(i,j)) else: print('{} {}'.format(j,i)) else: break
while(True): i,j=input().split() if i != '0' or j != '0': if int(i) <= int(j): print('{} {}'.format(i,j)) else: print('{} {}'.format(j,i)) else: break
[["-", 0, 52, 8, 196, 0, 57, 15, 679, 17, 355], ["+", 0, 52, 8, 196, 0, 57, 15, 679, 17, 354]]
5
71
a, b= map(int, input(). split()) while a!=0 and b!=0: list1=[a, b] list1.sort() print(str(list1[0]) + " " + str(list1[1])) a, b= map(int, input(). split())
a, b= map(int, input(). split()) while a!=0 or b!=0: list1=[a, b] list1.sort() print(str(list1[0]) + " " + str(list1[1])) a, b= map(int, input(). split())
[["-", 36, 36, 0, 656, 0, 52, 15, 679, 17, 355], ["+", 36, 36, 0, 656, 0, 52, 15, 679, 17, 354]]
5
75
while True: a, b = sorted(map(int, input().split())) if a == 0 & b == 0: break print(a, b)
while True: a, b = sorted(map(int, input().split())) if a == 0 and b == 0: break print(a, b)
[["-", 8, 196, 0, 57, 15, 666, 0, 657, 17, 67], ["+", 0, 52, 8, 196, 0, 57, 15, 679, 17, 355]]
5
38
while 1: x,y = sorted(map(int,input().split())) if not (x*y): break print(x,y)
while 1: x,y = sorted(map(int,input().split())) if not (x or y): break print(x,y)
[["-", 0, 57, 15, 681, 28, 23, 0, 657, 17, 48], ["+", 0, 57, 15, 681, 28, 23, 0, 679, 17, 354]]
5
37
while True: x,y=sorted(map(int,input().split())) if (x==0) and(y==0): break print(*a)
while True: x,y=sorted(map(int,input().split())) if (x==0) and(y==0): break print(x, y)
[["-", 0, 1, 0, 652, 3, 4, 0, 661, 0, 48], ["-", 0, 1, 0, 652, 3, 4, 0, 661, 0, 22], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["+", 8, 196, 0, 1, 0, 652, 3, 4, 0, 21]]
5
41
while True: a,b=sorted([int(x) for x in input().split]) if a==0 and b == 0 : break print(a,b)
while True: a,b=sorted([int(x) for x in input().split()]) if a==0 and b == 0 : break print(a,b)
[["+", 0, 658, 0, 659, 12, 652, 3, 4, 0, 24], ["+", 0, 658, 0, 659, 12, 652, 3, 4, 0, 25]]
5
40
for i in range(3000): k=input().split() a=int(k[0]) b=int(k[0]) if a==0 and b==0: break else: if a<b: print(str(a)+" "+str(b)) else: print(str(b)+" "+str(a))
for i in range(3000): k=input().split() a=int(k[0]) b=int(k[1]) if a==0 and b==0: break else: if a<b: print(str(a)+" "+str(b)) else: print(str(b)+" "+str(a))
[["-", 0, 662, 12, 652, 3, 4, 0, 206, 206, 612], ["+", 0, 662, 12, 652, 3, 4, 0, 206, 206, 612]]
5
86
# Swapping Two Numbers zeroCount = 0 while zeroCount == 0: numbers = [int(i) for i in input().rstrip().split()] # print(numbers) if numbers[0] == 0 and numbers[1] == 0: zeroCount += 1 else: swap = sorted(numbers) # print(swap) a = [str(n) for n in swap] print(a) ...
# Swapping Two Numbers zeroCount = 0 while zeroCount == 0: numbers = [int(i) for i in input().rstrip().split()] # print(numbers) if numbers[0] == 0 and numbers[1] == 0: zeroCount += 1 else: swap = sorted(numbers) # print(swap) a = [str(n) for n in swap] print(" "...
[["+", 3, 4, 0, 652, 63, 319, 500, 557, 0, 654], ["+", 3, 4, 0, 652, 63, 319, 500, 557, 0, 6], ["+", 3, 4, 0, 652, 63, 319, 500, 557, 0, 655], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 0, 131], ["+", 0, 652, 3, 4, 0, 652, 63, 319, 319, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]]
5
75
x,y = map(int, input().split()) if x==0 and y==0: break if x <= y: print(x,y) else: print(y,x)
while True: x,y = map(int, input().split()) if x==0 and y==0: break if x <= y: print(x,y) else: print(y,x)
[["+", 36, 36, 36, 36, 0, 656, 0, 52, 0, 89], ["+", 36, 36, 36, 36, 0, 656, 0, 52, 15, 146], ["+", 36, 36, 36, 36, 0, 656, 0, 52, 0, 102]]
5
45
function main(input) { var a = input.split(' ') var ans = 0 for (var i = parseInt(a[0]); i <= a[1]; i++) { if (parseInt(a[2]) % i == 0) { ans += 1 } } console.log(ans) } var input = ''; process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(chunk) { input ...
function main(input) { var a = input[0].split(' ') var ans = 0 for (var i = parseInt(a[0]); i <= parseInt(a[1]); i++) { if (parseInt(a[2]) % i == 0) { ans += 1 } } console.log(ans) } var input = ''; process.stdin.resume(); process.stdin.setEncoding('utf8'); process.stdin.on('data', function(ch...
[["+", 0, 200, 51, 2, 63, 558, 500, 69, 0, 70], ["+", 0, 200, 51, 2, 63, 558, 500, 69, 71, 555], ["+", 0, 200, 51, 2, 63, 558, 500, 69, 0, 73], ["+", 0, 7, 15, 1, 0, 16, 12, 2, 63, 22], ["+", 15, 1, 0, 16, 12, 2, 3, 3, 0, 24], ["+", 15, 1, 0, 16, 12, 2, 3, 3, 0, 25]]
2
152
var input = "" process.stdin.resume(); process.stdin.setEncoding('utf-8'); process.stdin.on('data', function(chunk) { input += chunk; }); process.stdin.on('end', function() { input = input.split("\n"); i = 0 while (input[i] != 0) { arr = input[i].split(" "); sum = 0; arr[0] = Number(arr[0]); arr[...
var input = "" process.stdin.resume(); process.stdin.setEncoding('utf-8'); process.stdin.on('data', function(chunk) { input += chunk; }); process.stdin.on('end', function() { input = input.split("\n"); i = 0 while (input[i] != 0) { arr = input[i].split(" "); sum = 0; arr[0] = Number(arr[0]); arr[...
[["-", 8, 556, 0, 7, 15, 1, 0, 16, 17, 18], ["+", 8, 556, 0, 7, 15, 1, 0, 16, 17, 19]]
2
191
var std = process.stdin; std.resume(); std.setEncoding('utf8'); std.on('data', function(chunk) { var data = chunk.replace(/\n/, '').split(' ').map(Number); var count = 0; for (var i = data[0]; i < data[1]; i++) { if (data[2] % i === 0) { count++; } } console.log(count); });
var std = process.stdin; std.resume(); std.setEncoding('utf8'); std.on('data', function(chunk) { var data = chunk.replace(/\n/, '').split(' ').map(Number); var count = 0; for (var i = data[0]; i <= data[1]; i++) { if (data[2] % i === 0) { count++; } } console.log(count); });
[["-", 8, 556, 0, 7, 15, 1, 0, 16, 17, 18], ["+", 8, 556, 0, 7, 15, 1, 0, 16, 17, 19]]
2
115
'use strict'; (function(stdin) { // declare function // declare variable var inputs = stdin.toString().trim().split('\n'); var cols = inputs[0].split(' ').map(Number); var count = 0; // main for (var i = cols[0]; i < cols[1]; i++) { if (cols[2] % i === 0) { count++; } } // display console.log(count); })(requir...
'use strict'; (function(stdin) { // declare function // declare variable var inputs = stdin.toString().trim().split('\n'); var cols = inputs[0].split(' ').map(Number); var count = 0; // main for (var i = cols[0]; i <= cols[1]; i++) { if (cols[2] % i === 0) { count++; } } // display console.log(count); })(requi...
[["-", 8, 556, 0, 7, 15, 1, 0, 16, 17, 18], ["+", 8, 556, 0, 7, 15, 1, 0, 16, 17, 19]]
2
125
list($a, $b, $c) = explode(' ', trim(fgets(STDIN))); $count = 0; for (; $a <= $b; $a++) { if($c % $a == 0 ) { $count++; } } echo $count, PHP_EOL;
<?php list($a, $b, $c) = explode(' ', trim(fgets(STDIN))); $count = 0; for (; $a <= $b; $a++) { if ($c % $a == 0 ) { $count++; } } echo $count, PHP_EOL;
[["+", 36, 36, 36, 36, 36, 36, 0, 493, 0, 605]]
6
69
<?php $in = explode(" ", trim(fgets(STDIN))); $a = $in[0]; $b = $in[1]; $c = $in[2]; $count = 0; for($i = 5; $i <= $b; $i++) { if($c % $i == 0) { $count += 1; } } echo $count . "\n";
<?php $in = explode(" ", trim(fgets(STDIN))); $a = $in[0]; $b = $in[1]; $c = $in[2]; $count = 0; for($i = $a; $i <= $b; $i++) { if($c % $i == 0) { $count += 1; } } echo $count . "\n";
[["-", 36, 36, 0, 493, 0, 7, 0, 11, 12, 612], ["+", 0, 493, 0, 7, 0, 11, 12, 606, 0, 607], ["+", 0, 493, 0, 7, 0, 11, 12, 606, 0, 141]]
6
95
<?php $input = trim(gets(STDIN)); $list = explode(" ", $input); $a = $list[0]; $b = $list[1]; $c = $list[2]; $cnt = 0; for($i=$a; $i<=$b; $i++){ if($c % $i == 0){ $cnt++; } } echo $cnt; ?>
<?php $input = trim(fgets(STDIN)); $list = explode(" ", $input); $a = $list[0]; $b = $list[1]; $c = $list[2]; $cnt = 0; for($i=$a; $i<=$b; $i++){ if($c % $i == 0){ $cnt++; } } echo $cnt; ?>
[["-", 12, 613, 3, 3, 0, 28, 0, 613, 63, 141], ["+", 12, 613, 3, 3, 0, 28, 0, 613, 63, 141]]
6
98
<?php // 3????????°????????\??? $num = preg_split('/ /', trim(fgets(STDIN))); $a = intval($num[0]); $b = intval($num[1]); $c = intval($num[2]); $ans; for($a = $a; $a <= $b; $a++){ if($c % $a == 0){ $ans++; } } echo ($ans); ?>
<?php // 3????????°????????\??? $num = preg_split('/ /', trim(fgets(STDIN))); $a = intval($num[0]); $b = intval($num[1]); $c = intval($num[2]); $ans = 0; for($a = $a; $a <= $b; $a++){ if($c % $a == 0){ $ans++; } } echo ($ans); ?>
[["+", 36, 36, 0, 493, 0, 1, 0, 11, 0, 32], ["+", 36, 36, 0, 493, 0, 1, 0, 11, 12, 612]]
6
102
<?php $cnt = 0; $num = explode(" ",trim(fgets(STDIN))); $a = $num[0]; $b = $num[1]; $c = $num[2]; while($a < $b){ if(($c % $a)==0){ $cnt++; } $a++; } echo $cnt.PHP_EOL; ?>
<?php $cnt = 0; $num = explode(" ",trim(fgets(STDIN))); $a = $num[0]; $b = $num[1]; $c = $num[2]; while($a <= $b){ if(($c % $a)==0){ $cnt++; } $a++; } echo $cnt.PHP_EOL; ?>
[["-", 0, 493, 0, 52, 15, 23, 0, 16, 17, 18], ["+", 0, 493, 0, 52, 15, 23, 0, 16, 17, 19]]
6
90
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int yaku = 0; while (a < b) { // if (c % a == 0) { yaku++; } // ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int yaku = 0; while (a <= b) { if (c % a == 0) { yaku++; } a++; } ...
[["-", 8, 196, 0, 52, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 52, 15, 15, 0, 16, 17, 19]]
3
102
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { final String SPACE = " "; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inputData[] = br.readL...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { final String SPACE = " "; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String inputData[] = br.readL...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
170
import java.util.*; class Main { public static void main(String[] args) { int x, y, z, c; Scanner in = new Scanner(System.in); x = in.nextInt(); y = in.nextInt(); z = in.nextInt(); c = 0; while (x < y) { if (z % x == 0) { c = c + 1; } x = x + 1; } System....
import java.util.*; class Main { public static void main(String[] args) { int x, y, z, c; Scanner in = new Scanner(System.in); x = in.nextInt(); y = in.nextInt(); z = in.nextInt(); c = 0; while (x <= y) { if (z % x == 0) { c = c + 1; } x = x + 1; } System...
[["-", 8, 196, 0, 52, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 52, 15, 15, 0, 16, 17, 19]]
3
110
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; String[] arrStr; int cntDivisor = 0; try { str =...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; String[] arrStr; int cntDivisor = 0; try { str = ...
[["-", 0, 246, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 246, 8, 196, 0, 7, 15, 16, 17, 19]]
3
178
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); System.out.println( "" + countDivisors(scan.nextInt(), scan.nextInt(), scan.nextInt())); } static int countDivisors(int first, int last, int num) { int count = 0; ...
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); System.out.println( "" + countDivisors(scan.nextInt(), scan.nextInt(), scan.nextInt())); } static int countDivisors(int first, int last, int num) { int count = 0; ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
114
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner a = new Scanner(System.in); int b = a.nextInt(); int c = a.nextInt(); int d = a.nextInt(); int count = 0; for (int i = b; i < c; i++) { if ((d % i) == 0) { count++; } } ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner a = new Scanner(System.in); int b = a.nextInt(); int c = a.nextInt(); int d = a.nextInt(); int count = 0; for (int i = b; i <= c; i++) { if ((d % i) == 0) { count++; } } ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
107
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a, b, c; int count = 0; a = in.nextInt(); b = in.nextInt(); c = in.nextInt(); for (int i = a; i < b; i++) { if (c % i == 0) { count++; } ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a, b, c; int count = 0; a = in.nextInt(); b = in.nextInt(); c = in.nextInt(); for (int i = a; i <= b; i++) { if (c % i == 0) { count++; } ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
109
import java.io.*; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int i; int x = 0; for (i = a; i <= b; i++) { if ((c % i) == 0) { x = x++;...
import java.io.*; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int i; int x = 0; for (i = a; i <= b; i++) { if ((c % i) == 0) { x++; ...
[["-", 0, 57, 64, 196, 0, 1, 0, 11, 17, 32], ["-", 64, 196, 0, 1, 0, 11, 12, 27, 0, 22]]
3
117
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[] line = br.readLine().split(" "); int a = Integer....
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[] line = br.readLine().split(" "); int a = Integer....
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
155
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int x = 0; for (int i = a; i <= b; i++) { if ((c % i) == 0) { x++; } ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int x = 0; for (int i = a; i <= b; i++) { if ((c % i) == 0) { x++; } } ...
[["+", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46]]
3
107
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int sum = 0; for (int i = a; i <= b; i++) { if (c % a == 0) sum = sum + 1; } Syst...
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int sum = 0; for (int i = a; i <= b; i++) { if (c % i == 0) sum = sum + 1; } Syst...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 12, 22]]
3
105
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int i; for (i = 0; b > a; a++) { ...
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int i; for (i = 0; true; a++) { ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 31, 22], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 47], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 8, 498, 0, 195, 8, 196, 0, 7, 15, 146]]
3
114
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); sc.useDelimiter("\\s"); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int x = 0; for (int i = a; b == i; i++) { if (c % i == 0) { x...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); sc.useDelimiter("\\s"); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int x = 0; for (int i = a; b >= i; i++) { if (c % i == 0) { x...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 60], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 20]]
3
115
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new I...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new I...
[["-", 49, 200, 51, 492, 3, 4, 0, 504, 71, 499], ["+", 49, 200, 51, 492, 3, 4, 0, 504, 71, 499]]
3
159
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); // while(true) { String[] line = br.readLine().split(" "); int a = Integer.parseInt(line[0...
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); // while(true) { String[] line = br.readLine().split(" "); int a = Integer.parseInt(line[0...
[["+", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46]]
3
150
import java.util.Scanner; public class Main { void howmany() { int a, b, c, cnt; Scanner s = new Scanner(System.in); a = s.nextInt(); b = s.nextInt(); c = s.nextInt(); cnt = 0; for (int i = a; i < b; i++) { if ((c % i) == 0) { cnt++; } } System.out.println(cnt);...
import java.util.Scanner; public class Main { void howmany() { int a, b, c, cnt; Scanner s = new Scanner(System.in); a = s.nextInt(); b = s.nextInt(); c = s.nextInt(); cnt = 0; for (int i = a; i <= b; i++) { if ((c % i) == 0) { cnt++; } } System.out.println(cnt)...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
132
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[] a_b_c = str.split(" "...
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[] a_b_c = str.split(" "...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
162
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = 0; int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); for (int i = a; i < b; i++) { if (c % i == 0) { count++; } } Sys...
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int count = 0; int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); for (int i = a; i <= b; i++) { if (c % i == 0) { count++; } } Sy...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
104
import static java.lang.System.out; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int counter = 0; while (a < b) { if (c % a == 0) {...
import static java.lang.System.out; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); int counter = 0; while (a <= b) { if (c % a == 0) ...
[["-", 8, 196, 0, 52, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 52, 15, 15, 0, 16, 17, 19]]
3
110
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] strArr = br.readLine().split(" "); int a, b, c; int ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] strArr = br.readLine().split(" "); int a, b, c; int ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
158
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(); int count = 0; for (int i = a; i <= b; i++) { if (c % i == 0) { count++; } System.out.println(count);...
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(), b = sc.nextInt(), c = sc.nextInt(); int count = 0; for (int i = a; i <= b; i++) { if (c % i == 0) { count++; } } System.out.println(cou...
[["+", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46]]
3
102
import java.io.*; import java.util.*; class Main { public void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); StringTokenizer st = new StringTokenizer(line, " "); int a = Integer.parseInt(st.nextToken());...
import java.io.*; import java.util.*; class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); StringTokenizer st = new StringTokenizer(line, " "); int a = Integer.parseInt(st.nextTo...
[["+", 0, 235, 8, 498, 0, 195, 0, 494, 0, 115]]
3
153
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String[] hikakuStr = line.split("[\\s]+"); int a = Int...
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String[] hikakuStr = line.split("[\\s]+"); int a = Int...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
156
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String[] s = sc.nextLine().split(" "); int a = Integer.parseInt(s[0]); int b = Integer.parseInt(s[1]); int c = Integer.parseInt(s[2]); ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String[] s = sc.nextLine().split(" "); int a = Integer.parseInt(s[0]); int b = Integer.parseInt(s[1]); int c = Integer.parseInt(s[2]); ...
[["-", 0, 52, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 52, 8, 196, 0, 7, 15, 16, 17, 19]]
3
145
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int i, div = 0; int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); for (i = a; i < b; i++) { if (c % i == 0) { div++; } } Sys...
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int i, div = 0; int a = scan.nextInt(); int b = scan.nextInt(); int c = scan.nextInt(); for (i = a; i <= b; i++) { if (c % i == 0) { div++; } } Sy...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
105
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); int a = Integer.parseInt(str[0]); int b = Integer.parseInt(str[1]); int c = Integer....
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); int a = Integer.parseInt(str[0]); int b = Integer.parseInt(str[1]); int c = Integer....
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
135
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); System.out.println(method(a, b, c)); } static int method(int a, int b, int c) { int divisor = 0; ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); System.out.println(method(a, b, c)); } static int method(int a, int b, int c) { int divisor = 0; ...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 31, 499], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 31, 22]]
3
132
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { try { BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); String input = buf.readLine(); String[] strAry = input.split(" "); ...
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { try { BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); String input = buf.readLine(); String[] strAry = input.split(" "); ...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 12, 22], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 12, 22]]
3
164
import java.io.BufferedReader; import java.io.InputStreamReader; import java.lang.Math; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder st = new StringBuilder(); String[] ary = new Strin...
import java.io.BufferedReader; import java.io.InputStreamReader; import java.lang.Math; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder st = new StringBuilder(); String[] ary = new Strin...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
171
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int intA = sc.nextInt(); int intB = sc.nextInt(); int intC = sc.nextInt(); int intKosuu = 0; for (int i = intA; i < intB; i++) { if (intC % i == 0) { in...
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int intA = sc.nextInt(); int intB = sc.nextInt(); int intC = sc.nextInt(); int intKosuu = 0; for (int i = intA; i <= intB; i++) { if (intC % i == 0) { i...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
105
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { String str = null; BufferedReader br = null; br = new BufferedReader(new InputStreamReader(System.in)); String[] str1; int a, b, c; try...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { String str = null; BufferedReader br = null; br = new BufferedReader(new InputStreamReader(System.in)); String[] str1; int a, b, c; try...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
194
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); int a, b, c; a = cin.nextInt(); b = cin.nextInt(); c = cin.nextInt(); int res = serch_divisor_number(a, b, c); System.out.println(res); } private static int serch_div...
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner cin = new Scanner(System.in); int a, b, c; a = cin.nextInt(); b = cin.nextInt(); c = cin.nextInt(); int res = serch_divisor_number(a, b, c); System.out.println(res); } private static int serch_div...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
141
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); int a = Integer.parseInt(str[0]); int b = Integer.parseInt(str[1]); int c = Intege...
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); int a = Integer.parseInt(str[0]); int b = Integer.parseInt(str[1]); int c = Intege...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
141
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a, b, c, count = 0; a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); for (int i = a; i < b; i++) { if (c % i == 0) count++; } System.out....
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a, b, c, count = 0; a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); for (int i = a; i <= b; i++) { if (c % i == 0) count++; } System.out...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
106
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a, b, c, count = 0; a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); for (int i = b; i <= c; i++) { if (c / i == 0) { count++; } } S...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a, b, c, count = 0; a = sc.nextInt(); b = sc.nextInt(); c = sc.nextInt(); for (int i = a; i <= b; i++) { if (c % i == 0) { count++; } } S...
[["-", 8, 196, 0, 7, 502, 503, 49, 200, 51, 22], ["+", 8, 196, 0, 7, 502, 503, 49, 200, 51, 22], ["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 22], ["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 85], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 109]]
3
108
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] l = line.split(" "); int a = Integer.parseInt(l[0]); int b = Integer.parseInt(l[1]); int c = Integer.parseInt(l[2]); int count = 0;...
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] l = line.split(" "); int a = Integer.parseInt(l[0]); int b = Integer.parseInt(l[1]); int c = Integer.parseInt(l[2]); int count = 0;...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 31, 499], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 31, 22]]
3
140
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { int a = 0; int b = 0; int c = 0; int answer = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { int a = 0; int b = 0; int c = 0; int answer = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in));...
[["+", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46]]
3
173
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a, b, c; int divisor = 0; a = scan.nextInt(); b = scan.nextInt(); c = scan.nextInt(); for (int i = a; i < b; i++) if (i != 0 && c % i == 0) div...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a, b, c; int divisor = 0; a = scan.nextInt(); b = scan.nextInt(); c = scan.nextInt(); for (int i = a; i <= b; i++) if (i != 0 && c % i == 0) di...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
114
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String inputData; inputData = reader.readLine(); ...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String inputData; inputData = reader.readLine(); ...
[["+", 8, 196, 0, 7, 15, 16, 12, 16, 17, 72], ["+", 8, 196, 0, 7, 15, 16, 12, 16, 12, 499]]
3
175
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readLine(); String[] cut = input.split(" "); int a = Integer.parseInt(cut[0]); int b = Integer.parseInt(cut[1]); ...
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readLine(); String[] cut = input.split(" "); int a = Integer.parseInt(cut[0]); int b = Integer.parseInt(cut[1]); ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
145
import java.util.Scanner; public class Main { public static void main(String[] args) { int a = 0; int b = 0; int c = 0; int div = 0; try (Scanner scan = new Scanner(System.in)) { a = scan.nextInt(); b = scan.nextInt(); c = scan.nextInt(); for (int i = a; i < b; i++) { ...
import java.util.Scanner; public class Main { public static void main(String[] args) { int a = 0; int b = 0; int c = 0; int div = 0; try (Scanner scan = new Scanner(System.in)) { a = scan.nextInt(); b = scan.nextInt(); c = scan.nextInt(); for (int i = a; i <= b; i++) { ...
[["-", 0, 530, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 530, 8, 196, 0, 7, 15, 16, 17, 19]]
3
121
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int a = Integer.parseInt(line.split(" ")[0]); int b = ...
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int a = Integer.parseInt(line.split(" ")[0]); int b = ...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 31, 22], ["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 109], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 109], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 12, 22]]
3
160
import java.util.Scanner; class Main { public static void main(String[] args) { int a, b, c; int count = 0; Scanner stdIn = new Scanner(System.in); a = stdIn.nextInt(); b = stdIn.nextInt(); c = stdIn.nextInt(); for (int i = a; i < b; i++) { if ((c % i) == 0) { count++;...
import java.util.Scanner; class Main { public static void main(String[] args) { int a, b, c; int count = 0; Scanner stdIn = new Scanner(System.in); a = stdIn.nextInt(); b = stdIn.nextInt(); c = stdIn.nextInt(); for (int i = a; i <= b; i++) { if ((c % i) == 0) { count++...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
110
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 data[] = br.readLine().split(" "); int a = Intege...
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 data[] = br.readLine().split(" "); int a = Intege...
[["+", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46], ["-", 0, 195, 8, 196, 0, 7, 8, 196, 0, 46]]
3
155
import java.util.Scanner; public class Main { public static void main(String[] args) { int a = 0; int b = 0; int c = 0; int i = 0; int ans = 0; Scanner in = new Scanner(System.in); a = in.nextInt(); b = in.nextInt(); c = in.nextInt(); while (a <= b) { if (a % c == 0...
import java.util.Scanner; public class Main { public static void main(String[] args) { int a = 0; int b = 0; int c = 0; int i = 0; int ans = 0; Scanner in = new Scanner(System.in); a = in.nextInt(); b = in.nextInt(); c = in.nextInt(); while (a <= b) { if (c % a == 0...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 31, 22], ["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 109], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 109], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 12, 22]]
3
120
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class HowManyDivisors { public static void main(String[] args) throws IOException { String[] ArrayX = new String[3]; int[] Numbers = new int[3]; int cnt = 0; BufferedReader br = new BufferedReader(new Input...
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException { String[] ArrayX = new String[3]; int[] Numbers = new int[3]; int cnt = 0; BufferedReader br = new BufferedReader(new InputStreamReade...
[["-", 36, 36, 36, 36, 0, 493, 0, 235, 141, 22], ["+", 36, 36, 36, 36, 0, 493, 0, 235, 141, 22], ["-", 8, 196, 0, 57, 15, 15, 0, 16, 17, 18], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 17, 19], ["-", 0, 57, 64, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 57, 64, 196, 0, 7, 15, 16, 17, 19]]
3
212
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); int cnt = 0; int i; for (i = x; x < y; x++) { if (z % x == 0) { cnt++; } }...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int z = sc.nextInt(); int cnt = 0; int i; for (i = x; x <= y; x++) { if (z % x == 0) { cnt++; } ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
107
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] a = new int[] {sc.nextInt(), sc.nextInt(), sc.nextInt()}; int count = 0; for (int i = a[0]; i < a[1]; i++) { if (a[2] % i == 0) { count++; } } ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] a = new int[] {sc.nextInt(), sc.nextInt(), sc.nextInt()}; int count = 0; for (int i = a[0]; i <= a[1]; i++) { if (a[2] % i == 0) { count++; } } ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
116
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)); int d = 0; int sum = 0...
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)); int d = 0; int sum = 0...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 18], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 19]]
3
173
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int ans = 0; for (int i = a; i <= b; i++) { if (i % c == 0) { ans++; } } Sys...
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); int ans = 0; for (int i = a; i <= b; i++) { if (c % i == 0) { ans++; } } Sys...
[["-", 0, 57, 15, 15, 0, 16, 31, 16, 31, 22], ["-", 0, 57, 15, 15, 0, 16, 31, 16, 17, 109], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 17, 109], ["+", 0, 57, 15, 15, 0, 16, 31, 16, 12, 22]]
3
106
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // Start of Main Method int startNumber = sc.nextInt(); int endNumber = sc.nextInt(); int divisor = sc.nextInt(); int lastlyDivisor = 0; for (int i = startNumber; ...
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // Start of Main Method int startNumber = sc.nextInt(); int endNumber = sc.nextInt(); int divisor = sc.nextInt(); int lastlyDivisor = 0; for (int i = startNumber; ...
[["-", 0, 195, 8, 196, 0, 7, 15, 16, 17, 47], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 17, 20]]
3
108