Datasets:

problem_id
stringlengths
6
6
buggy_code
stringlengths
8
526k
fixed_code
stringlengths
12
526k
labels
listlengths
0
15
⌀
buggy_submission_id
int64
1
1.54M
fixed_submission_id
int64
2
1.54M
user_id
stringlengths
10
10
language
stringclasses
8 values
p02640
X,Y = map(int,input().split()) if 2 * X > Y: ret = 'No' else: if (Y - 2 * X) % 2 == 1: ret = 'No' else: if (Y - 2 * X) // 2 < X: ret = 'Yes' else: ret = 'No' print(ret)
X,Y = map(int,input().split()) if 2 * X > Y: ret = 'No' else: if (Y - 2 * X) % 2 == 1: ret = 'No' else: if (Y - 2 * X) // 2 <= X: ret = 'Yes' else: ret = 'No' print(ret)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,721
353,722
u290886932
python
p02640
X, Y = (int(i) for i in input().split()) for i in range(101): if Y == i * 2 + (X-i) * 4: print('Yes') exit() print('No')
X, Y = (int(i) for i in input().split()) for i in range(X+1): if Y == i * 2 + (X-i) * 4: print('Yes') exit() print('No')
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
353,723
353,724
u909991537
python
p02640
X, Y = (int(i) for i in input().split()) for i in range(100): if Y == i * 2 + (X-i) * 4: print('Yes') exit() print('No')
X, Y = (int(i) for i in input().split()) for i in range(X+1): if Y == i * 2 + (X-i) * 4: print('Yes') exit() print('No')
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
353,725
353,724
u909991537
python
p02640
x = list(map(lambda x:int(x), input().split())) X = x[0] Y = x[1] kame = (Y-X*2)//2 #print(kame) if X-kame >= 0 and Y - kame*4 == (X-kame)*2: print("Yes") else: print("No")
x = list(map(lambda x:int(x), input().split())) X = x[0] Y = x[1] kame = (Y-X*2)//2 #print(kame) if kame >= 0 and X-kame >= 0 and Y - kame*4 == (X-kame)*2: print("Yes") else: print("No")
[ "control_flow.branch.if.condition.change" ]
353,728
353,727
u263352518
python
p02640
x, y = map(int, input().split()) j = y/2 - x i = x - y/2 if (j == abs(int(j))) and (i == abs(int(i))): print("Yes") else: print("No")
x, y = map(int, input().split()) j = y/2 - x i = 2*x - y/2 if (j == abs(int(j))) and (i == abs(int(i))): print("Yes") else: print("No")
[ "assignment.change" ]
353,733
353,734
u316733945
python
p02640
x, y = map(int, input().split()) now = x for i in range(3+1): sums = i * 2 + (x-i) * 4 if sums == y: print("Yes") break else: print("No")
x, y = map(int, input().split()) now = x for i in range(x+1): sums = i * 2 + (x-i) * 4 if sums == y: print("Yes") break else: print("No")
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
353,740
353,741
u620617652
python
p02640
import sys input = lambda: sys.stdin.readline().rstrip() sys.setrecursionlimit(10**7) INF = 10**20 def I(): return int(input()) def F(): return float(input()) def S(): return input() def LI(): return [int(x) for x in input().split()] def LI_(): return [int(x)-1 for x in input().split()] def LF(): return [float(x) for ...
import sys input = lambda: sys.stdin.readline().rstrip() sys.setrecursionlimit(10**7) INF = 10**20 def I(): return int(input()) def F(): return float(input()) def S(): return input() def LI(): return [int(x) for x in input().split()] def LI_(): return [int(x)-1 for x in input().split()] def LF(): return [float(x) for ...
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,742
353,743
u648881683
python
p02640
x, y = map(int, input().split()) tmp = 4 * x - y f = 0 if tmp % 2 == 0 and tmp >= 0: crane = tmp / 2 turtle = x - crane if x >= 0: f = 1 else: pass else: pass if f == 1: print('Yes') else: print('No')
x, y = map(int, input().split()) tmp = 4 * x - y f = 0 if tmp % 2 == 0 and tmp >= 0: crane = tmp / 2 turtle = x - crane if turtle >= 0: f = 1 else: pass else: pass if f == 1: print('Yes') else: print('No')
[ "identifier.change", "control_flow.branch.if.condition.change" ]
353,744
353,745
u318233626
python
p02640
x, y = map(int, input().split()) tmp = 4 * x - y f = 0 if tmp % 2 == 0 and tmp >= 0: crane = tmp % 2 turtle = x - crane if x >= 0: f = 1 else: pass else: pass if f == 1: print('Yes') else: print('No')
x, y = map(int, input().split()) tmp = 4 * x - y f = 0 if tmp % 2 == 0 and tmp >= 0: crane = tmp / 2 turtle = x - crane if turtle >= 0: f = 1 else: pass else: pass if f == 1: print('Yes') else: print('No')
[ "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change", "identifier.change", "control_flow.branch.if.condition.change" ]
353,746
353,745
u318233626
python
p02640
from numpy.linalg import solve X, Y = map(int, input().split()) left=[[1,1],[2,4]] right=[X,Y] a=solve(left,right) if a[0] >=0 and a[1] >= 0 and a[0].is_integer() and a[1].is_integer(): print("YES") else: print("NO")
from numpy.linalg import solve X, Y = map(int, input().split()) left=[[1,1],[2,4]] right=[X,Y] a=solve(left,right) if a[0] >=0 and a[1] >= 0 and a[0].is_integer() and a[1].is_integer(): print("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,751
353,752
u522945737
python
p02640
X, Y = list(map(int, input().split())) val = Y - 2*X if((val % 2) == 0) and (val <= 2*X): print("Yes") else: print("No")
X, Y = list(map(int, input().split())) val = Y - 2*X if((val % 2) == 0) and (0 <= val <= 2*X): print("Yes") else: print("No")
[ "control_flow.branch.if.condition.change" ]
353,767
353,768
u328608670
python
p02640
n,m=map(int,input().split()) if m/4<=n<=m/2 and n%2==0: print("Yes") else: print("No")
n,m=map(int,input().split()) if m/4<=n<=m/2 and m%2==0: print("Yes") else: print("No")
[ "identifier.change", "control_flow.branch.if.condition.change" ]
353,769
353,770
u275392848
python
p02640
import sys x, y = map(int, input().split()) a = y / 2 for i in range(x): if (i+1)*2 + (x-1-i)*4 == y: print("Yes") sys.exit() print("No")
import sys x, y = map(int, input().split()) a = y / 2 for i in range(x+1): if (i)*2 + (x-i)*4 == y: print("Yes") sys.exit() print("No")
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
353,779
353,780
u951814007
python
p02640
X, Y = map(int, input().split()) for a in range(0, X): y = 4*a + 2*(X-a) if Y == y: print("Yes") exit() print("No")
X, Y = map(int, input().split()) for a in range(0, X+1): y = 4*a + 2*(X-a) if Y == y: print("Yes") exit() print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,781
353,782
u700526568
python
p02640
a = list(map(int,input().split())) X=a[0] Y=a[1] crain = (4*X-Y)/2 turtle = (Y-2*X)/2 if crain.is_integer() and crain >= 0: if turtle.is_integer() and turtle >= 0: print("Yes") else: print("False") else: print("False")
a = list(map(int,input().split())) X=a[0] Y=a[1] crain = (4*X-Y)/2 turtle = (Y-2*X)/2 if crain.is_integer() and crain >= 0: if turtle.is_integer() and turtle >= 0: print("Yes") else: print("No") else: print("No")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
353,783
353,784
u668750703
python
p02640
from numpy.linalg import solve X,Y = map(int,(input().split())) left = [[1, 1],[2, 4]] right = [X, Y] if(int(solve(left, right)[0])>0 and int(solve(left, right)[1])>0 and solve(left, right)[0].is_integer() and solve(left, right)[1].is_integer()): print("Yes") else: print("No")
from numpy.linalg import solve X,Y = map(int,(input().split())) left = [[1, 1],[2, 4]] right = [X, Y] if(int(solve(left, right)[0])>=0 and int(solve(left, right)[1])>=0 and solve(left, right)[0].is_integer() and solve(left, right)[1].is_integer()): print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,787
353,788
u382407432
python
p02640
def iput(): return int(input()) def mput(): return map(int, input().split()) def lput(): return list(map(int, input().split())) def solve(): x, y = mput() hoge = (x * 4 - y) / 2 if hoge % 1 == 0 and hoge >= 0: print("Yes") else: print("No") return 0 if __name__ == "__main__": s...
def iput(): return int(input()) def mput(): return map(int, input().split()) def lput(): return list(map(int, input().split())) def solve(): x, y = mput() hoge = (x * 4 - y) / 2 if hoge % 1 == 0 and x >= hoge >= 0: print("Yes") else: print("No") return 0 if __name__ == "__main__": ...
[ "control_flow.branch.if.condition.change" ]
353,791
353,792
u070630744
python
p02640
def resolve(): ''' code here ''' X, Y = [int(item) for item in input().split()] if 0 <= (Y - 2*X) <= X: b = (Y - 2*X) % 2 print('Yes') if b==0 else print('No') else: print('No') if __name__ == "__main__": resolve()
def resolve(): ''' code here ''' X, Y = [int(item) for item in input().split()] if 0 <= (Y - 2*X) <= 2*X: b = (Y - 2*X) % 2 print('Yes') if b==0 else print('No') else: print('No') if __name__ == "__main__": resolve()
[ "control_flow.branch.if.condition.change" ]
353,796
353,797
u591503175
python
p02640
X, Y = map(int, input().split()) for i in range(101): for j in range(101): if i + j == X and 2 * i + 4 * j == Y: print("YES") exit() print("NO")
X, Y = map(int, input().split()) for i in range(101): for j in range(101): if i + j == X and 2 * i + 4 * j == Y: print("Yes") exit() print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,804
353,805
u285833393
python
p02640
x,y = list(map(int,input().split())) #print(x,y) for i in range(1, x+1): # 足の数 f = 2 * i + 4 * (x - i) if f == y: print('Yes') break else: print('No')
x,y = list(map(int,input().split())) #print(x,y) for i in range(0, x+1): # 足の数 f = 2 * i + 4 * (x - i) if f == y: print('Yes') break else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,806
353,807
u876616721
python
p02640
x,y=list(map(int,input().split())) import sys for i in range(1,x+1): if 2*i+4*(x-i)==y: print("Yes") sys.exit() print("No")
x,y=list(map(int,input().split())) import sys for i in range(0,x+1): if 2*i+4*(x-i)==y: print("Yes") sys.exit() print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,808
353,809
u437351386
python
p02640
X,Y = map(int,input().split()) for i in range(0, X+1): f = 2 * i + 4 * (X - i) if f == Y: print('Yes') break else: print('No') break
X,Y = map(int,input().split()) for i in range(0, X+1): f = 2 * i + 4 * (X - i) if f == Y: print('Yes') break else: print('No')
[ "control_flow.break.remove" ]
353,810
353,811
u391442102
python
p02640
X,Y = map(int,input().split()) for i in range(1, X+1): f = 2 * i + 4 * (X - i) if f == Y: print('Yes') break else: print('No')
X,Y = map(int,input().split()) for i in range(0, X+1): f = 2 * i + 4 * (X - i) if f == Y: print('Yes') break else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,812
353,811
u391442102
python
p02640
x, y = map(int, input().split()) a = 4*x - y b = y - 2*x if a % 2 == 0 and a > 0 and b % 2 == 0 and b > 0: print("Yes") else: print("No")
x, y = map(int, input().split()) a = 4*x - y b = y - 2*x if a % 2 == 0 and a >= 0 and b % 2 == 0 and b >= 0: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,813
353,814
u058496530
python
p02640
x, y = map(int, input().split()) ans = 'No' for i in range(1, x+1): if 2*i + 4*(x-i) == y: ans = 'Yes' print(ans)
x, y = map(int, input().split()) ans = 'No' for i in range(x+1): if 2*i + 4*(x-i) == y: ans = 'Yes' print(ans)
[ "call.arguments.change" ]
353,815
353,816
u709799578
python
p02640
X,Y=map(int, input().split()) for i in range(X+1): for j in range(X-i+1): print(i,j) if 2*i+4*(X-i)==Y: print('Yes') exit(0) print('No')
X,Y=map(int, input().split()) for i in range(X+1): for j in range(X-i+1): if 2*i+4*(X-i)==Y: print('Yes') exit(0) print('No')
[ "call.remove" ]
353,825
353,826
u585963734
python
p02640
X,Y=map(int, input().split()) for i in range(X): for j in range(X-i): if 2*i+4*(X-i)==Y: print('Yes') exit(0) print('No')
X,Y=map(int, input().split()) for i in range(X+1): for j in range(X-i+1): if 2*i+4*(X-i)==Y: print('Yes') exit(0) print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,827
353,826
u585963734
python
p02640
x, y = map(int, input().split()) ans = "No" for i in range(1,x+1): if 2*i + 4*(x-i) == y: ans = "Yes" break print(ans)
x, y = map(int, input().split()) ans = "No" for i in range(x+1): if 2*i + 4*(x-i) == y: ans = "Yes" print(ans)
[ "call.arguments.change", "control_flow.break.remove" ]
353,834
353,835
u284262180
python
p02640
x,y = map(int, input().split()) ans = "No" for crane in range(1,x+1): if crane*2 + (x - crane)*4 == y: ans = "Yes" print(ans)
x,y = map(int, input().split()) ans = "No" for crane in range(x+1): if crane*2 + (x - crane)*4 == y: ans = "Yes" print(ans)
[ "call.arguments.change" ]
353,838
353,839
u846922835
python
p02640
x,y = map(int, input().split()) ans = "No" for crane in range(1,101): if crane*2 + (x - crane)*4 == y: ans = "Yes" print(ans)
x,y = map(int, input().split()) ans = "No" for crane in range(x+1): if crane*2 + (x - crane)*4 == y: ans = "Yes" print(ans)
[ "call.arguments.change" ]
353,840
353,839
u846922835
python
p02640
x, y = map(int, input().split()) if y % 2 != 0: print('No') else: b = y // 2 - x a = 2 * x - y if a >= 0 and b >= 0: print('Yes') else: print('No')
x, y = map(int, input().split()) if y % 2 != 0: print('No') else: b = y // 2 - x a = 2 * x - y/2 if a >= 0 and b >= 0: print('Yes') else: print('No')
[ "assignment.change" ]
353,845
353,846
u588785393
python
p02640
x,y = map(int, input().split()) tur = (y-x*2)/2 if y%2 == 0 and tur <= x: print("Yes") else: print("No")
x,y = map(int, input().split()) tur = (y-x*2)/2 if y%2 == 0 and 0 <= tur and tur <= x: print("Yes") else: print("No")
[ "control_flow.branch.if.condition.change" ]
353,849
353,850
u513858037
python
p02640
x,y=map(int,input().split()) for i in range(1,x+1): kame=x-i if kame*4+i*2==y: print('Yes') exit() print('No')
x,y=map(int,input().split()) for turu in range(x+1): kame=x-turu if kame*4+turu*2==y: print('Yes') exit() print('No')
[ "identifier.change", "call.arguments.change", "assignment.value.change", "expression.operation.binary.change", "control_flow.branch.if.condition.change" ]
353,851
353,852
u133356863
python
p02640
x, y = map(int,input().split()) res = "No" for i in range(x): if 4 * i + 2*(x-i) == y: res = "Yes" break print(res)
x, y = map(int,input().split()) res = "No" for i in range(x+1): if 4 * i + 2*(x-i) == y: res = "Yes" break print(res)
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,853
353,854
u469700628
python
p02640
x,y=map(int,input().split()) a=0 c=y while a<30: if c==2*(x-a): print("Yes") break c=c-4 a+=1 if a==30: print('No')
x,y=map(int,input().split()) a=0 c=y while a<30: if c==2*(x-a) and c>=0: print("Yes") break c=c-4 a+=1 if a==30: print('No')
[ "control_flow.branch.if.condition.change" ]
353,879
353,880
u035453792
python
p02640
x,y = map(int,input().split(" ")) flag=0 for i in range(x+1): j=x-i if 4*i+2*j==y: flag=1 if flag==0: print("no") else: print("yes")
x,y = map(int,input().split(" ")) flag=0 for i in range(x+1): j=x-i if 4*i+2*j==y: flag=1 if flag==0: print("No") else: print("Yes")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,892
353,893
u000579017
python
p02640
import sys x, y = map(int, input().split()) # x:頭数 y:足 for i in range(x): if i * 4 + (x - i) * 2 == y: print('Yes') sys.exit() print('No')
import sys x, y = map(int, input().split()) # x:頭数 y:足 for i in range(x + 1): if i * 4 + (x - i) * 2 == y: print('Yes') sys.exit() print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,894
353,895
u155757809
python
p02640
# -*- coding: utf-8 -*- import sys import math debug = False def log(text): if debug: print(text) def parse_input(lines_as_string = None): global debug lines = [] if lines_as_string is None: debug = False # for line in sys.stdin: # lines.append(line) lin...
# -*- coding: utf-8 -*- import sys import math debug = False def log(text): if debug: print(text) def parse_input(lines_as_string = None): global debug lines = [] if lines_as_string is None: debug = False # for line in sys.stdin: # lines.append(line) lin...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.loop.range.bounds.upper.change" ]
353,896
353,897
u000557170
python
p02640
# -*- coding: utf-8 -*- import sys import math debug = False def log(text): if debug: print(text) def parse_input(lines_as_string = None): global debug lines = [] if lines_as_string is None: debug = False # for line in sys.stdin: # lines.append(line) lin...
# -*- coding: utf-8 -*- import sys import math debug = False def log(text): if debug: print(text) def parse_input(lines_as_string = None): global debug lines = [] if lines_as_string is None: debug = False # for line in sys.stdin: # lines.append(line) lin...
[ "identifier.change", "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.branch.if.condition.change" ]
353,898
353,897
u000557170
python
p02640
x, y = map(int,input().split()) flag=False for i in range(x+1): yi=2*i+4(x-i) if y==yi: flag=True break print("Yes") if flag else print("No")
x, y = map(int,input().split()) flag=False for i in range(x+1): yi=2*i+4*(x-i) if y==yi: flag=True break print("Yes") if flag else print("No")
[]
353,910
353,911
u742729271
python
p02640
x, y = list(map(int, input().split())) # ab_sorted = sorted(ab, key=lambda x: x[0]) #ab = [list(map(int, input().split())) for i in range(n)] # print(min(15*n, 100*(n//10+1), 100*(n//10)+15*(n % 10))) # xひき y本 total = 0 for i in range(0, x+1): total = 2*i + 3*(x-i) if total == y: print("Yes") e...
x, y = list(map(int, input().split())) # ab_sorted = sorted(ab, key=lambda x: x[0]) #ab = [list(map(int, input().split())) for i in range(n)] # print(min(15*n, 100*(n//10+1), 100*(n//10)+15*(n % 10))) # xひき y本 total = 0 for i in range(0, x+1): total = 2*i + 4*(x-i) if total == y: print("Yes") ...
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.change" ]
353,912
353,913
u696444274
python
p02640
import sys import math from collections import deque import heapq import itertools from decimal import Decimal import bisect from operator import itemgetter MAX_INT = int(10e18) MIN_INT = -MAX_INT mod = 1000000000+7 sys.setrecursionlimit(1000000) def IL(): return list(map(int,input().split())) def SL(): return input()....
import sys import math from collections import deque import heapq import itertools from decimal import Decimal import bisect from operator import itemgetter MAX_INT = int(10e18) MIN_INT = -MAX_INT mod = 1000000000+7 sys.setrecursionlimit(1000000) def IL(): return list(map(int,input().split())) def SL(): return input()....
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
353,914
353,915
u634461820
python
p02640
X, Y = map(int, input().split()) if (4 * X - Y > 0) and (Y - 2 * X > 0) and ((4 * X - Y) % 2 == 0) and ((Y - 2 * X) % 2 == 0): print('Yes') else: print('No')
X, Y = map(int, input().split()) if (4 * X - Y >= 0) and (Y - 2 * X >= 0) and ((4 * X - Y) % 2 == 0) and ((Y - 2 * X) % 2 == 0): print('Yes') else: print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,918
353,919
u837340160
python
p02640
x, y = map(int, input().split()) all_crane_num = x * 2 diff = y - all_crane_num turtle_num = diff / 2 crane_num = x - turtle_num if turtle_num >= 0 and crane_num >= 0 and turtle_num*4 + crane_num*2 == y: print('Yes') else: print('No')
x, y = map(int, input().split()) all_crane_num = x * 2 diff = y - all_crane_num turtle_num = int(diff / 2) crane_num = x - turtle_num if turtle_num >= 0 and crane_num >= 0 and turtle_num*4 + crane_num*2 == y: print('Yes') else: print('No')
[ "call.add", "call.arguments.change" ]
353,922
353,923
u636290142
python
p02640
import sys import numpy as np # 実行環境(0:vscode, 1:atcoder) MODE = 1 # 入力の次元 DIMENSION = 1 # int型に変換 INT_TYPE = 1 if not (MODE): with open("input.txt", "r") as f: s = f.read() else: s = sys.stdin.read() if DIMENSION == 0: if INT_TYPE == 1: s = int(s) elif DIMENSION == 1: if INT_TYPE =...
import sys import numpy as np # 実行環境(0:vscode, 1:atcoder) MODE = 1 # 入力の次元 DIMENSION = 1 # int型に変換 INT_TYPE = 1 if not (MODE): with open("input.txt", "r") as f: s = f.read() else: s = sys.stdin.read() if DIMENSION == 0: if INT_TYPE == 1: s = int(s) elif DIMENSION == 1: if INT_TYPE =...
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,924
353,925
u691531343
python
p02640
import sys x, y = map(int, input().split()) t = x * 2 for i in range(x): if t == y: print("Yes") sys.exit() else: t += 2 print("No")
import sys x, y = map(int, input().split()) t = x * 2 for i in range(x+1): if t == y: print("Yes") sys.exit() else: t += 2 print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,926
353,927
u483005329
python
p02640
# -*- coding: utf-8 -*- x, y = map(int, input().split()) for kame in range(x): if kame * 4 + (x - kame) * 2 == y: print('Yes') exit() print('No')
# -*- coding: utf-8 -*- x, y = map(int, input().split()) for kame in range(x+1): if kame * 4 + (x - kame) * 2 == y: print('Yes') exit() print('No')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,930
353,931
u531391334
python
p02640
x,y = map(int,input().split()) ju = 0 for i in range(1,x+1): an = 2*i+4*(x-i) if an ==y: ju=1 break if ju==1: print("Yes") else: print("No")
x,y = map(int,input().split()) ju = 0 for i in range(0,x+1): an = 2*i+4*(x-i) if an ==y: ju=1 break if ju==1: print("Yes") else: print("No")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,935
353,936
u905329882
python
p02640
x, y =map(int,input().split()) b=(y-2*x)/2 if b.is_integer() and b<x: print("Yes") else: print("No")
x, y =map(int,input().split()) b=(y-2*x)/2 if b.is_integer() and b<=x and b>=0: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
353,942
353,943
u990653216
python
p02640
x, y =map(int,input().split()) b=(y-2*x)/2 if b.is_integer() and b<=x: print("Yes") else: print("No")
x, y =map(int,input().split()) b=(y-2*x)/2 if b.is_integer() and b<=x and b>=0: print("Yes") else: print("No")
[ "control_flow.branch.if.condition.change" ]
353,944
353,943
u990653216
python
p02640
x,y=map(int,input().split()) fla = False for i in range(x): if(y == (2*i + 4*(x-i))): fla = True if(fla): print("Yes") else: print("No")
x,y=map(int,input().split()) fla = False for i in range(x+1): if(y == (2*i + 4*(x-i))): fla = True if(fla): print("Yes") else: print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,956
353,957
u458436150
python
p02640
X,Y = map(int,input().split()) flag = False for i in range(X): if 2 * (i + 1) + 4 * (X - i - 1) == Y: flag = True print('Yes' if flag else 'No')
X,Y = map(int,input().split()) flag = False for i in range(X + 1): if 2 * (i) + 4 * (X - i) == Y: flag = True print('Yes' if flag else 'No')
[ "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
353,958
353,959
u577415482
python
p02640
x,y=map(int,input().split()) for i in range(1000): if 2*i==y-2*x: if i>x: print("NO") quit() else: print("YES") quit() print("NO")
x,y=map(int,input().split()) for i in range(1000): if 2*i==y-2*x: if i>x: print("No") quit() else: print("Yes") quit() print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
353,962
353,963
u608355135
python
p02640
x,y =[int(x) for x in input().split()] t = (y - 2*x) if t >=0 and t%2 == 0 and x - t >=0 : print('Yes') else: print('No') # y = 4*t + 2*(x - t) # y = 2*t + 2 *x # t = (y - 2*x)//2 # t >= 0 and t integer # x = t + c # y = 4*t + 2*(x - t) # y = 2*t + 2*x # 2*t = y - 2*x # and c = x - t
x,y =[int(x) for x in input().split()] t = (y - 2*x) if t >=0 and t%2 == 0 and x - t//2 >=0 : print('Yes') else: print('No') # y = 4*t + 2*(x - t) # y = 2*t + 2 *x # t = (y - 2*x)//2 # t >= 0 and t integer # x = t + c # y = 4*t + 2*(x - t) # y = 2*t + 2*x # 2*t = y - 2*x # and c = x - t
[ "control_flow.branch.if.condition.change" ]
353,976
353,977
u137051757
python
p02640
x, y = map(int, input().split()) for i in range(1, x+1): j = x - i if y == (i*2 + j*4): print("Yes") exit() print("No")
x, y = map(int, input().split()) for i in range(x+1): j = x - i if y == (i*2 + j*4): print("Yes") exit() print("No")
[ "call.arguments.change" ]
353,986
353,987
u613350811
python
p02640
x,y=map(int, input().split()) a="No" for i in range(x): if y==x*4-i*2: a="Yes" break print(a)
x,y=map(int, input().split()) a="No" for i in range(x+1): if y==x*4-i*2: a="Yes" break print(a)
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
353,992
353,993
u527454768
python
p02640
import sys input = sys.stdin.readline def main(): X,Y = map(int, input().split()) for i in range(1,X+1): if (i*2 + (X-i)*4) == Y: print("Yes") break else: print("No") if __name__ == '__main__': main()
import sys input = sys.stdin.readline def main(): X,Y = map(int, input().split()) for i in range(0,X+1): if (i*2 + (X-i)*4) == Y: print("Yes") break else: print("No") if __name__ == '__main__': main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,994
353,995
u163501259
python
p02640
import sys input = sys.stdin.readline def main(): X,Y = map(int, input().split()) for i in range(1,101): if (i*2 + (X-i)*4) == Y: print("Yes") break else: print("No") if __name__ == '__main__': main()
import sys input = sys.stdin.readline def main(): X,Y = map(int, input().split()) for i in range(0,X+1): if (i*2 + (X-i)*4) == Y: print("Yes") break else: print("No") if __name__ == '__main__': main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "identifier.replace.add", "literal.replace.remove", "control_flow.loop.range.bounds.upper.change" ]
353,996
353,995
u163501259
python
p02640
x, y = list(map(int, input().split())) for i in range(1, x+1): if 2*i + 4*(x-i) == y: print('Yes') exit() print('No')
x, y = list(map(int, input().split())) for i in range(0, x+1): if 2*i + 4*(x-i) == y: print('Yes') exit() print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
353,999
354,000
u502508885
python
p02640
import re import sys from bisect import bisect, bisect_left, insort, insort_left from collections import Counter, defaultdict, deque from copy import deepcopy from decimal import Decimal from itertools import ( accumulate, combinations, combinations_with_replacement, groupby, permutations, product) from math im...
import re import sys from bisect import bisect, bisect_left, insort, insort_left from collections import Counter, defaultdict, deque from copy import deepcopy from decimal import Decimal from itertools import ( accumulate, combinations, combinations_with_replacement, groupby, permutations, product) from math im...
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
354,007
354,008
u680503348
python
p02640
x,y=map(int,input().split()) ans="No" if (y-2*x)%2==0 and (y-2*x)/2<=x: ans="Yes" print(ans)
x,y=map(int,input().split()) ans="No" if (y-2*x)%2==0 and 0<=(y-2*x)/2<=x: ans="Yes" print(ans)
[ "control_flow.branch.if.condition.change" ]
354,017
354,018
u369133448
python
p02640
x,y=map(int, input().split()) z = (y - 2*x) if (y - 2*x)%2 == 0 and z <= x and z >= 0: print('Yes') else: print('No')
x,y=map(int, input().split()) b = (y - 2*x)/2 if (y - 2*x)%2 == 0 and b <= x and b >= 0: print('Yes') else: print('No')
[ "assignment.variable.change", "identifier.change", "control_flow.branch.if.condition.change" ]
354,025
354,026
u419633921
python
p02640
x,y=map(int, input().split()) z = (y - 2*x) if (y - 2*x)%2 == 0 and z <= x and z > 0: print('Yes') else: print('No')
x,y=map(int, input().split()) b = (y - 2*x)/2 if (y - 2*x)%2 == 0 and b <= x and b >= 0: print('Yes') else: print('No')
[ "assignment.variable.change", "identifier.change", "control_flow.branch.if.condition.change" ]
354,027
354,026
u419633921
python
p02640
# coding: utf-8 # Your code here! X,Y = map(int, input().split()) i=1 while i<=X: KAME=X-i TURU=i if (KAME*4)+(TURU*2)==Y: print("Yes") quit() i+=1 print("No")
# coding: utf-8 # Your code here! X,Y = map(int, input().split()) i=0 while i<=X: KAME=X-i TURU=i if (KAME*4)+(TURU*2)==Y: print("Yes") quit() i+=1 print("No")
[ "literal.number.integer.change", "assignment.value.change" ]
354,032
354,033
u190873802
python
p02640
#!python3.8 # -*- coding: utf-8 -*- # abc170/abc170_b import sys s2nn = lambda s: [int(c) for c in s.split(' ')] ss2nn = lambda ss: [int(s) for s in list(ss)] ss2nnn = lambda ss: [s2nn(s) for s in list(ss)] i2s = lambda: sys.stdin.readline().rstrip() i2n = lambda: int(i2s()) i2nn = lambda: s2nn(i2s()) ii2ss = lambda n...
#!python3.8 # -*- coding: utf-8 -*- # abc170/abc170_b import sys s2nn = lambda s: [int(c) for c in s.split(' ')] ss2nn = lambda ss: [int(s) for s in list(ss)] ss2nnn = lambda ss: [s2nn(s) for s in list(ss)] i2s = lambda: sys.stdin.readline().rstrip() i2n = lambda: int(i2s()) i2nn = lambda: s2nn(i2s()) ii2ss = lambda n...
[ "control_flow.branch.if.condition.change" ]
354,036
354,037
u106311097
python
p02640
x, y = [int(i) for i in input().split()] i = 0 ans = "No" while i < x: if 2 * (x + i) == y: ans = "Yes" break else: i += 1 print(ans)
x, y = [int(i) for i in input().split()] i = 0 ans = "No" while i <= x: if 2 * (x + i) == y: ans = "Yes" break else: i += 1 print(ans)
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
354,042
354,043
u230717961
python
p02640
x,y=map(int,input().split()) for i in range(1,100+1): if i*2+(x-i)*4==y: print("Yes") break else: print("No")
x,y=map(int,input().split()) for i in range(x+1): if i*2+(x-i)*4==y: print("Yes") break else: print("No")
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
354,050
354,051
u943057856
python
p02640
x,y=map(int,input().split()) for i in range(100+1): if i*2+(x-i)*4==y: print("Yes") break else: print("No")
x,y=map(int,input().split()) for i in range(x+1): if i*2+(x-i)*4==y: print("Yes") break else: print("No")
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
354,052
354,051
u943057856
python
p02640
x,y=map(int,input().split()) for i in range(100): if i*2+(x-i)*4==y: print("Yes") break else: print("No")
x,y=map(int,input().split()) for i in range(x+1): if i*2+(x-i)*4==y: print("Yes") break else: print("No")
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
354,053
354,051
u943057856
python
p02640
x,y = map(int,input().split()) ans = 0 for i in range(1,x+1): f = (2*i) + 4*(x-i) if f == y: print("Yes") exit() print("No")
x,y = map(int,input().split()) ans = 0 for i in range(x+1): f = (2*i) + 4*(x-i) if f == y: print("Yes") exit() print("No")
[ "call.arguments.change" ]
354,093
354,094
u562015767
python
p02640
(x, y) = [int(s) for s in input().split()] ans = 'NO' if 2 * x <= y <= 4 * x and y % 2 == 0: ans = 'YES' print(ans)
(x, y) = [int(s) for s in input().split()] ans = 'No' if 2 * x <= y <= 4 * x and y % 2 == 0: ans = 'Yes' print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
354,103
354,104
u734936991
python
p02640
import sys input = sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) x, y = MI() if y % 2 == 1: print("No") sys.exit() y = y // 2 if y > x * 2 and y < x: print("No") sys.exit() print("Yes")
import sys input = sys.stdin.readline def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) x, y = MI() if y % 2 == 1: print("No") sys.exit() y = y // 2 if y > x * 2 or y < x: print("No") sys.exit() print("Yes")
[ "control_flow.branch.if.condition.change" ]
354,107
354,108
u591808161
python
p02640
x,y = map(int,input().split()) for i in range(x): kame = i tsuru = x-i ashi = i*4 + tsuru*2 # print(kame,tsuru,ashi) if ashi == y: print("Yes") exit() print("No")
x,y = map(int,input().split()) for i in range(x+1): kame = i tsuru = x-i ashi = kame*4 + tsuru*2 # print(kame,tsuru,ashi) if ashi == y: print("Yes") exit() print("No")
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
354,113
354,114
u864069774
python
p02640
# 整数の入力 # スペース区切りの整数の入力 X, Y = map(int, input().split()) def myfunc(X, Y): for tsuru in range(101): turtle = X - tsuru legs = turtle * 4 + tsuru * 2 if legs == Y: return "Yes" return "No" print(myfunc(X,Y))
X, Y = map(int, input().split()) def myfunc(X, Y): for tsuru in range(X+1): turtle = X - tsuru legs = turtle * 4 + tsuru * 2 if legs == Y: return "Yes" return "No" print(myfunc(X,Y))
[ "identifier.replace.add", "literal.replace.remove", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
354,124
354,125
u729083717
python
p02640
import sys x, y = map(int, input().split()) #鶴a匹、亀x-a匹とする for a in range(1, x + 1): if y == 4 * x - 2 * a: print('Yes') sys.exit() print('No')
import sys x, y = map(int, input().split()) #鶴a匹、亀x-a匹とする for a in range(x + 1): if y == 4 * x - 2 * a: print('Yes') sys.exit() print('No')
[ "call.arguments.change" ]
354,128
354,129
u312482829
python
p02640
import sys x, y = map(int, input().split()) #鶴a匹、亀x-a匹とする for a in range(1, x + 1): if y == 4 * x - 2 * a: print('YES') sys.exit() print('NO')
import sys x, y = map(int, input().split()) #鶴a匹、亀x-a匹とする for a in range(x + 1): if y == 4 * x - 2 * a: print('Yes') sys.exit() print('No')
[ "call.arguments.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
354,130
354,129
u312482829
python
p02640
x, y = map(int, input().split()) for i in range(1, x+1): # 足の数 f = 2 * i + 4 * (x - i) if f == y: print("Yes") break else: print("No")
x, y = map(int, input().split()) for i in range(x+1): # 足の数 f = 2 * i + 4 * (x - i) if f == y: print("Yes") break else: print("No")
[ "call.arguments.change" ]
354,146
354,147
u066455063
python
p02640
X,Y = list(map(int,input().split())) flag = 0 for x in range(1,X+1): if 4 * X - 2 * x == Y: flag = 1 break if X == 1 and Y == 2: flag = 1 if X == 1 and Y == 4: flag = 1 if flag == 1: print('Yes') else: print('No')
X,Y = list(map(int,input().split())) flag = 0 for x in range(0,X+1): if 4 * X - 2 * x == Y: flag = 1 break if X == 1 and Y == 2: flag = 1 if X == 1 and Y == 4: flag = 1 if flag == 1: print('Yes') else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
354,160
354,161
u231518782
python
p02640
X,Y = list(map(int,input().split())) flag = 0 for x in range(1,X+1): if 4 * X - 2 * x == Y: flag = 1 if X == 1 and Y == 2: flag = 1 if X == 1 and Y == 4: flag = 1 if flag == 1: print('Yes') else: print('No')
X,Y = list(map(int,input().split())) flag = 0 for x in range(0,X+1): if 4 * X - 2 * x == Y: flag = 1 break if X == 1 and Y == 2: flag = 1 if X == 1 and Y == 4: flag = 1 if flag == 1: print('Yes') else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.break.add" ]
354,162
354,161
u231518782
python
p02640
X,Y = list(map(int,input().split())) flag = 0 for x in range(1,X+1): print(x) if 4 * X - 2 * x == Y: flag = 1 if X == 1 and Y == 2: flag = 1 if X == 1 and Y == 4: flag = 1 if flag == 1: print('Yes') else: print('No')
X,Y = list(map(int,input().split())) flag = 0 for x in range(0,X+1): if 4 * X - 2 * x == Y: flag = 1 break if X == 1 and Y == 2: flag = 1 if X == 1 and Y == 4: flag = 1 if flag == 1: print('Yes') else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "call.remove", "control_flow.break.add" ]
354,163
354,161
u231518782
python
p02640
X,Y = list(map(int,input().split())) flag = 0 for x in range(1,X): if 4 * X - 2 * x == Y: flag = 1 if X == 1 and Y == 2: flag = 1 if X == 1 and Y == 4: flag = 1 if flag == 1: print('Yes') else: print('No')
X,Y = list(map(int,input().split())) flag = 0 for x in range(0,X+1): if 4 * X - 2 * x == Y: flag = 1 break if X == 1 and Y == 2: flag = 1 if X == 1 and Y == 4: flag = 1 if flag == 1: print('Yes') else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.break.add" ]
354,164
354,161
u231518782
python
p02640
import sys X,Y = map(int,input().split()) for a in range(X): kame = a+1 tsuru = X-kame if kame * 2 + tsuru * 4 == Y: print("Yes") sys.exit() print("No")
import sys X,Y = map(int,input().split()) for a in range(X+1): kame = a tsuru = X-kame if kame * 4 + tsuru * 2 == Y: print("Yes") sys.exit() print("No")
[ "expression.operation.binary.remove", "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
354,167
354,168
u499998503
python
p02640
X, Y = map(int, input().split()) if Y % 2 == 0: if 4 * X > Y and 2*X <= Y: print("Yes") else: print("No") else: print("No")
X, Y = map(int, input().split()) if Y % 2 == 0: if 4 * X >= Y and 2*X <= Y: print("Yes") else: print("No") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
354,194
354,195
u062754605
python
p02640
X, Y = map(int, input().split()) if Y % 2 == 0: if 4 * X > Y or 2*X < Y: print("Yes") else: print("No") else: print("No")
X, Y = map(int, input().split()) if Y % 2 == 0: if 4 * X >= Y and 2*X <= Y: print("Yes") else: print("No") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
354,196
354,195
u062754605
python
p02640
X, Y = map(int, input().split()) if Y % 2 == 0: if 4 * X > Y and 2*X < Y: print("Yes") else: print("No") else: print("No")
X, Y = map(int, input().split()) if Y % 2 == 0: if 4 * X >= Y and 2*X <= Y: print("Yes") else: print("No") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
354,197
354,195
u062754605
python
p02640
x, y = map(int, input().split()) a = (2 + 2 * x - y) / 2 b = (y - 4 * x) / 2 if a >= 0 and b >= 0 and a % 1 == 0 and b % 1 == 0: print('Yes') else: print('No')
x, y = map(int, input().split()) a = (4 * x - y) / 2 b = (y - 2 * x) / 2 if a >= 0 and b >= 0 and a % 1 == 0 and b % 1 == 0: print('Yes') else: print('No')
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.change", "expression.operation.binary.remove" ]
354,200
354,201
u216015528
python
p02640
x, y = map(int, input().split()) a = (2 + 2 * x - y) / 2 b = (y - 2 * x) / 2 if a >= 0 and b >= 0 and a % 1 == 0 and b % 1 == 0: print('Yes') else: print('No')
x, y = map(int, input().split()) a = (4 * x - y) / 2 b = (y - 2 * x) / 2 if a >= 0 and b >= 0 and a % 1 == 0 and b % 1 == 0: print('Yes') else: print('No')
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.change", "expression.operation.binary.remove" ]
354,202
354,201
u216015528
python
p02640
L = [int(i) for i in input().split()] flag=0 for i in range(L[0]): if L[1]-i*2-(L[0]-i)*4==0: print("Yes") flag=1 break if flag==0: print("No")
L = [int(i) for i in input().split()] flag=0 for i in range(L[0]+1): # print(L[1]-i*2-(L[0]-i)*4) if L[1]-i*2-(L[0]-i)*4==0: print("Yes") flag=1 break # if L[1]<i*2+(L[0]-i)*4: # print("df") # break if flag==0: print("No")
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
354,203
354,204
u402428218
python
p02640
L = [int(i) for i in input().split()] flag=0 for i in range(L[0]): if L[1]-i*4-(L[0]-i)*2==0: print("Yes") flag=1 break if flag==0: print("No")
L = [int(i) for i in input().split()] flag=0 for i in range(L[0]+1): # print(L[1]-i*2-(L[0]-i)*4) if L[1]-i*2-(L[0]-i)*4==0: print("Yes") flag=1 break # if L[1]<i*2+(L[0]-i)*4: # print("df") # break if flag==0: print("No")
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
354,205
354,204
u402428218
python
p02640
L = [int(i) for i in input().split()] flag=0 for i in range(L[0]): if L[1]-i*4-(L[0]-i)*2==0: print("Yes") flag=1 if flag==0: print("No")
L = [int(i) for i in input().split()] flag=0 for i in range(L[0]+1): # print(L[1]-i*2-(L[0]-i)*4) if L[1]-i*2-(L[0]-i)*4==0: print("Yes") flag=1 break # if L[1]<i*2+(L[0]-i)*4: # print("df") # break if flag==0: print("No")
[ "literal.number.integer.change", "control_flow.branch.if.condition.change", "control_flow.break.add" ]
354,206
354,204
u402428218
python
p02640
import sys import math import collections import decimal import itertools from collections import deque from functools import reduce import heapq #n = int(input()) x, y = map(int, sys.stdin.readline().split()) #s = input() #x = list(map(int, sys.stdin.readline().split())) if 2 ** x > y: print("No") sys.e...
import sys import math import collections import decimal import itertools from collections import deque from functools import reduce import heapq #n = int(input()) x, y = map(int, sys.stdin.readline().split()) #s = input() #x = list(map(int, sys.stdin.readline().split())) if 2 * x > y: print("No") sys.ex...
[ "control_flow.branch.if.condition.change" ]
354,207
354,208
u262801165
python
p02640
x, y = map(int, input().split()) if (4*x >= y and y%2 == 0): print("Yes") else: print("No")
x, y = map(int, input().split()) if (4*x >= y >= 2*x and y % 2 == 0): print("Yes") else: print("No")
[ "control_flow.branch.if.condition.change" ]
354,216
354,217
u675168568
python
p02640
x,y =map(int,input().split()) p=0 for i in range(x): t=i k=x-t tashi=4*t kashi=2*k if tashi+kashi==y: p=1 print('Yes') break if p==0: print('No')
x,y =map(int,input().split()) p=0 for i in range(x+1): t=i k=x-t tashi=2*t kashi=4*k if tashi+kashi==y: p=1 print('Yes') break if p==0: print('No')
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.change" ]
354,222
354,223
u016336953
python
p02640
i=(input().split()) x=int(i[0]) y=int(i[1]) a=(4*x-y)/2 b=(y-2*x)/2 if a.is_integer() and b.is_integer() and a>=0 and b>=0: print("YES") else: print("NO")
i=(input().split()) x=int(i[0]) y=int(i[1]) a=(4*x-y)/2 b=(y-2*x)/2 if a.is_integer() and b.is_integer() and a>=0 and b>=0: print("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
354,230
354,231
u358943774
python
p02640
a = list(map(int, input().split())) if (4 * a[0] - a[1]) % 2 == 0 and 2 * t >= (4 * a[0] - a[1]) >= 0: print('Yes') else: print('No')
a = list(map(int, input().split())) if (4 * a[0] - a[1]) % 2 == 0 and 2 * a[0] >= (4 * a[0] - a[1]) >= 0: print('Yes') else: print('No')
[ "control_flow.branch.if.condition.change" ]
354,245
354,246
u440975163
python
p02640
a,b = [int(tmp) for tmp in input().split()] a = a*2 y = (b-a)//2 x = (a-2*y)//2 if x<0 or y<0 or y%2==1 : print("No") else : print("Yes")
a,b = [int(tmp) for tmp in input().split()] a = a*2 y = (b-a)//2 x = (a-2*y)//2 if x<0 or y<0 or b%2==1 : print("No") else : print("Yes")
[ "identifier.change", "control_flow.branch.if.condition.change" ]
354,256
354,257
u047485390
python
p02640
x, y = map(int,input().split()) for i in range(1, x+1): f = 2*i + 4*(x-i) if f == y: print('Yes') break else: print('No')
x, y = map(int,input().split()) for i in range(x+1): f = 2*i + 4*(x-i) if f == y: print('Yes') break else: print('No')
[ "call.arguments.change" ]
354,258
354,259
u501451051
python
p02640
x,y=map(int,input().split()) if y-2*x>=0 and (y-2*x)%2==0 and (4*x-y)>0 and (4*x-y)%2==0: print("Yes") else: print("No")
x,y=map(int,input().split()) if y-2*x>=0 and (y-2*x)%2==0 and (4*x-y)>=0 and (4*x-y)%2==0: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
354,268
354,269
u257265865
python
p02640
N, M = map(int,input().split()) for i in range(1, N+1): f = 2 * i + 4 * (N - i) if f == M: print("Yes") break else: print('No')
N, M = map(int,input().split()) for i in range(0, N+1): f = 2 * i + 4 * (N - i) if f == M: print("Yes") break else: print('No')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
354,272
354,273
u765401716
python
p02640
import sys input = sys.stdin.readline def S(): return input().rstrip() def I(): return int(input()) def MI(): return map(int, input().split()) x, y = MI() for i in range(1, x + 1): f = i * 2 + (x - i) * 4 if f == y: print("Yes") exit() print("No")
import sys input = sys.stdin.readline def S(): return input().rstrip() def I(): return int(input()) def MI(): return map(int, input().split()) x, y = MI() for i in range(x + 1): total = i * 2 + (x - i) * 4 if total == y: print("Yes") exit() print("No")
[ "call.arguments.change", "assignment.variable.change", "identifier.change", "control_flow.branch.if.condition.change" ]
354,276
354,277
u876438858
python