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 |
|---|---|---|---|---|---|---|---|
p02760 | import numpy as np
bingo = np.zeros([3,3])
check = np.zeros([3,3])
choice = []
flag = "No"
for i in range(3):
a = input().split()
a = [int(x) for x in a]
bingo[i] = a
N = int(input())
for i in range(N):
choice.append(int(input()))
convert = bingo.reshape([9])
for i in range(9):
for j in range(N):... | import numpy as np
bingo = np.zeros([3,3])
check = np.zeros([3,3])
choice = []
flag = "No"
for i in range(3):
a = input().split()
a = [int(x) for x in a]
bingo[i] = a
N = int(input())
for i in range(N):
choice.append(int(input()))
convert = bingo.reshape([9])
for i in range(9):
for j in choice:
... | [
"control_flow.loop.range.bounds.upper.change",
"call.arguments.change",
"assignment.variable.change",
"identifier.change"
] | 548,075 | 548,076 | u803865203 | python |
p02760 | a = []
for i in range(3):
a += map(int, input().split())
n = int(input())
for i in range(n):
b = int(input())
for j in range(9):
if b == a[j]:
a[j] = 'o'
isBingo = False
bingo = [[0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 4, 8], [2, 5, 6]]
for elem in bingo:... | a = []
for i in range(3):
a += map(int, input().split())
n = int(input())
for i in range(n):
b = int(input())
for j in range(9):
if b == a[j]:
a[j] = 'o'
isBingo = False
bingo = [[0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 4, 8], [2, 4, 6]]
for elem in bingo:... | [
"literal.number.integer.change",
"assignment.value.change"
] | 548,081 | 548,082 | u811436126 | python |
p02760 | a = []
for i in range(3):
a += map(int, input().split())
n = int(input())
for i in range(n):
b = int(input())
for j in range(9):
if b == a[j]:
a[j] = 'o'
isBingo = False
bingo = [[0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 4, 8], [2, 5, 7]]
for elem in bingo:... | a = []
for i in range(3):
a += map(int, input().split())
n = int(input())
for i in range(n):
b = int(input())
for j in range(9):
if b == a[j]:
a[j] = 'o'
isBingo = False
bingo = [[0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 4, 8], [2, 4, 6]]
for elem in bingo:... | [
"literal.number.integer.change",
"assignment.value.change"
] | 548,083 | 548,082 | u811436126 | python |
p02760 | a = []
for i in range(3):
a += map(int, input().split())
n = int(input())
for i in range(n):
b = int(input())
for i in range(9):
if b == a[i]:
a[i] = 'o'
isBingo = False
bingo = [[0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 4, 8], [2, 5, 7]]
for elem in bingo:... | a = []
for i in range(3):
a += map(int, input().split())
n = int(input())
for i in range(n):
b = int(input())
for j in range(9):
if b == a[j]:
a[j] = 'o'
isBingo = False
bingo = [[0, 3, 6], [1, 4, 7], [2, 5, 8], [0, 1, 2], [3, 4, 5], [6, 7, 8], [0, 4, 8], [2, 4, 6]]
for elem in bingo:... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"assignment.variable.change",
"literal.number.integer.change",
"assignment.value.change"
] | 548,084 | 548,082 | u811436126 | python |
p02760 | import sys
card = [[int(x) for x in input().split(' ') ] for _ in range(3)]
patterns = []
patterns += [[card[i][j] for i in range(3)] for j in range(3)]
patterns += [[card[j][i] for i in range(3)] for j in range(3)]
patterns.append([card[i][i] for i in range(3)])
patterns.append([card[2-i][2-i] for i in range(3)] )
... | import sys
card = [[int(x) for x in input().split(' ') ] for _ in range(3)]
patterns = []
patterns += [[card[i][j] for i in range(3)] for j in range(3)]
patterns += [[card[j][i] for i in range(3)] for j in range(3)]
patterns.append([card[i][i] for i in range(3)])
patterns.append([card[i][2-i] for i in range(3)] )
ok... | [
"expression.operation.binary.remove",
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove"
] | 548,091 | 548,092 | u707659359 | python |
p02760 | mat=[list(map(int,input().split())) for i in range(3)]
print(mat)
N=int(input())
c=0
for n in range(N):
b=int(input())
for i in range(3):
for j in range(3):
if mat[i][j]==b:
mat[i][j]=0
for i in range(3):
if mat[i][0]==0 and mat[i][1]==0 and mat[i][2]==0:
c+=1
elif mat[0][i]==0 and mat[1][... | mat=[list(map(int,input().split())) for i in range(3)]
N=int(input())
c=0
for n in range(N):
b=int(input())
for i in range(3):
for j in range(3):
if mat[i][j]==b:
mat[i][j]=0
for i in range(3):
if mat[i][0]==0 and mat[i][1]==0 and mat[i][2]==0:
c+=1
elif mat[0][i]==0 and mat[1][i]==0 and m... | [
"call.remove"
] | 548,093 | 548,094 | u403562465 | python |
p02760 | mat=[list(map(int,input().split())) for i in range(3)]
print(mat)
N=int(input())
c=0
for n in range(N):
b=int(input())
for i in range(3):
for j in range(3):
if mat[i][j]==b:
mat[i][j]=0
for i in range(3):
if mat[i][0]==0 and mat[i][1]==0 and mat[i][2]==0:
c+=1
elif mat[0][i]==0 and mat[1][... | mat=[list(map(int,input().split())) for i in range(3)]
N=int(input())
c=0
for n in range(N):
b=int(input())
for i in range(3):
for j in range(3):
if mat[i][j]==b:
mat[i][j]=0
for i in range(3):
if mat[i][0]==0 and mat[i][1]==0 and mat[i][2]==0:
c+=1
elif mat[0][i]==0 and mat[1][i]==0 and m... | [
"call.remove"
] | 548,095 | 548,094 | u403562465 | python |
p02760 | A1 = input().split()
A2 = input().split()
A3 = input().split()
hit_example = [7,56,73,84,146,273,292,448]
b = 0
ans = "no"
N = int(input())
for i in range(N):
x = int(input())
if int(A1[0]) == x:
b += 256
elif int(A1[1]) == x:
b += 128
elif int(A1[2]) == x:
b += 64
elif int(A2[0]) == x:
b +=... | A1 = input().split()
A2 = input().split()
A3 = input().split()
hit_example = [7,56,73,84,146,273,292,448]
b = 0
ans = "No"
N = int(input())
for i in range(N):
x = int(input())
if int(A1[0]) == x:
b += 256
elif int(A1[1]) == x:
b += 128
elif int(A1[2]) == x:
b += 64
elif int(A2[0]) == x:
b +=... | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 548,100 | 548,101 | u161868822 | python |
p02760 | t = [0] * 3
x = [0] * 3
y = [0] * 3
a=[]
for i in range(3):
t[i], x[i], y[i] = map(int, input().split())
a.append(t)
a.append(x)
a.append(y)#二重のリストへ
n=int(input())
li=[input() for i in range(n)]
#メインコード
ctr=[[0,0,0],[0,0,0],[0,0,0]]
for i in range(3):
for j in range(3):
for k in range(n):#それぞれのリストを探索
... | t = [0] * 3
x = [0] * 3
y = [0] * 3
a=[]
for i in range(3):
t[i], x[i], y[i] = map(int, input().split())
a.append(t)
a.append(x)
a.append(y)#二重のリストへ
n=int(input())
li=[input() for i in range(n)]
#メインコード
ctr=[[0,0,0],[0,0,0],[0,0,0]]
for i in range(3):
for j in range(3):
for k in range(n):#それぞれのリストを探索
... | [
"call.remove"
] | 548,107 | 548,108 | u846808272 | python |
p02760 | list1 = input().split()
list2 = input().split()
list3 = input().split()
n = int(input())
for _ in range(n):
value = input()
list1 = ['' if value in s else s for s in list1]
list2 = ['' if value in s else s for s in list2]
list3 = ['' if value in s else s for s in list3]
ans = 'No'
if all(s == '' for s ... | list1 = input().split()
list2 = input().split()
list3 = input().split()
n = int(input())
for _ in range(n):
value = input()
list1 = ['' if value == s else s for s in list1]
list2 = ['' if value == s else s for s in list2]
list3 = ['' if value == s else s for s in list3]
ans = 'No'
if all(s == '' for s ... | [
"assignment.value.change"
] | 548,120 | 548,121 | u780346073 | python |
p02760 | def contains(lista, n):
for i in range(3):
for j in range(3):
if lista[i][j] == n:
lista[i][j] = "x"
def busca(lista):
for i in range(3):
if(lista[i][0] == "x" and lista[i][1] == "x" and lista[i][2] == "x"):
return "Yes"
for i in range(3):
if(l... | def contains(lista, n):
for i in range(3):
for j in range(3):
if lista[i][j] == n:
lista[i][j] = "x"
def busca(lista):
for i in range(3):
if(lista[i][0] == "x" and lista[i][1] == "x" and lista[i][2] == "x"):
return "Yes"
for i in range(3):
if(l... | [
"call.remove"
] | 548,124 | 548,125 | u518218959 | python |
p02760 | l=[list(map(int,input().split())) for i in range(3)]
l=sum(l,[])
n=int(input())
li=set([input() for ini in range(n)])
d=[0 for i in range(9)]
for g in range(9):
if l[g] in li:d[g]=1
for a,s,x in [(0,1,2),(3,4,5),(6,7,8),(0,4,8),(2,4,6),(0,3,6),(1,4,7),(2,5,8)]:
if d[a]==d[x]==d[s]==1:
print("Yes");exit()
print(... | l=[list(map(int,input().split())) for i in range(3)]
l=sum(l,[])
n=int(input())
li=set([int(input()) for ini in range(n)])
d=[0 for i in range(9)]
for g in range(9):
if l[g] in li:d[g]=1
for a,s,x in [(0,1,2),(3,4,5),(6,7,8),(0,4,8),(2,4,6),(0,3,6),(1,4,7),(2,5,8)]:
if d[a]==d[x]==d[s]==1:
print("Yes");exit()
... | [
"call.add",
"call.arguments.change"
] | 548,136 | 548,137 | u896741788 | python |
p02760 | r1=list(map(int,input().split()))
r2=list(map(int,input().split()))
r3=list(map(int,input().split()))
N=int(input())
a=[]
for i in range(N):
a.append(int(input()))
bing=[[0,0,0],[0,0,0],[0,0,0]]
for i in range(0,3):
if r1[i] in a:
bing[0][i]=1
if r2[i] in a:
bing[1][i]=1
if r3[i] in a... | r1=list(map(int,input().split()))
r2=list(map(int,input().split()))
r3=list(map(int,input().split()))
N=int(input())
a=[]
for i in range(N):
a.append(int(input()))
bing=[[0,0,0],[0,0,0],[0,0,0]]
for i in range(0,3):
if r1[i] in a:
bing[0][i]=1
if r2[i] in a:
bing[1][i]=1
if r3[i] in a... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,138 | 548,139 | u821262411 | python |
p02760 | A = [[0 for i in range(3)] for j in range(3)]
for i in range(3):
A[i] = list(map(int, input().split()))
N = int(input())
judge = [0 for i in range(9)]
ans = 'No'
for i in range(N):
b = int(input())
for row in range(3):
if (b in A[row]):
index_r = A[row].index(b)
index... | A = [[0 for i in range(3)] for j in range(3)]
for i in range(3):
A[i] = list(map(int, input().split()))
N = int(input())
judge = [0 for i in range(9)]
ans = 'No'
for i in range(N):
b = int(input())
for row in range(3):
if (b in A[row]):
index_r = A[row].index(b)
index... | [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change",
"call.arguments.change"
] | 548,145 | 548,146 | u015593272 | python |
p02760 | A = [[0 for i in range(3)] for j in range(3)]
for i in range(3):
A[i] = list(map(int, input().split()))
N = int(input())
judge = [0 for i in range(9)]
ans = 'No'
for i in range(N):
b = int(input())
for row in range(3):
if (b in A[row]):
index_r = A[row].index(b)
index... | A = [[0 for i in range(3)] for j in range(3)]
for i in range(3):
A[i] = list(map(int, input().split()))
N = int(input())
judge = [0 for i in range(9)]
ans = 'No'
for i in range(N):
b = int(input())
for row in range(3):
if (b in A[row]):
index_r = A[row].index(b)
index... | [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change",
"call.arguments.change"
] | 548,147 | 548,146 | u015593272 | python |
p02760 | # -*- coding: utf-8 -*-
"""
Created on Tue Mar 3 22:38:51 2020
@author: Kanaru Sato
"""
A = []
[A.append(list(map(int, input().split()))) for i in range(0,3)]
N = int(input())
b = []
[b.append(int(input())) for i in range(0,N)]
flag = [[0, 0, 0],
[0, 0, 0],
[0, 0, 0]]
for i in range(0,3):
for... | # -*- coding: utf-8 -*-
"""
Created on Tue Mar 3 22:38:51 2020
@author: Kanaru Sato
"""
A = []
[A.append(list(map(int, input().split()))) for i in range(0,3)]
N = int(input())
b = []
[b.append(int(input())) for i in range(0,N)]
flag = [[0, 0, 0],
[0, 0, 0],
[0, 0, 0]]
for i in range(0,3):
for... | [
"call.remove"
] | 548,162 | 548,163 | u674052742 | python |
p02760 | line1 = list(map(int,input().split()) )
line2 = list(map(int,input().split()))
line3 = list(map(int,input().split()))
N = int(input())
num = []
for _ in range(N):
num.append(int(input()))
card = line1 + line2 + line3
result = []
for i in card:
if i in num:
result.append(1)
else:
result.appe... | line1 = list(map(int,input().split()) )
line2 = list(map(int,input().split()))
line3 = list(map(int,input().split()))
N = int(input())
num = []
for _ in range(N):
num.append(int(input()))
card = line1 + line2 + line3
result = []
for i in card:
if i in num:
result.append(1)
else:
result.appe... | [
"control_flow.break.add"
] | 548,164 | 548,165 | u629560745 | python |
p02760 | li_a = list(input().split())
li_a += list(input().split())
li_a += list(input().split())
n = int(input())
for i in range(n):
b = input()
if b in li_a:
idx = li_a.index(b)
li_a[idx] = "o"
if any(
[all(a == "o" for a in li_a[:3]),
all(a == "o" for a in li_a[3:6]),
all(a == "o" for a i... | li_a = list(input().split())
li_a += list(input().split())
li_a += list(input().split())
n = int(input())
for i in range(n):
b = input()
if b in li_a:
idx = li_a.index(b)
li_a[idx] = "o"
if any(
[all(a == "o" for a in li_a[:3]),
all(a == "o" for a in li_a[3:6]),
all(a == "o" for a i... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,168 | 548,169 | u126823513 | python |
p02760 | A = []
for i in range(3):
line = list(map(int, input().split()))
A.extend(line)
N = int(input())
bingo = [False] * 9
def num_check(num):
for i in range(9):
if A[i] == num:
bingo[i] = True
for _ in range(N):
num = int(input())
num_check(num)
bingo_flag = False
# row check
if ... | A = []
for i in range(3):
line = list(map(int, input().split()))
A.extend(line)
N = int(input())
bingo = [False] * 9
def num_check(num):
for i in range(9):
if A[i] == num:
bingo[i] = True
for _ in range(N):
num = int(input())
num_check(num)
bingo_flag = False
# row check
if ... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 548,177 | 548,178 | u707498674 | python |
p02760 | #157b
a_array = []
a_array.append(list(map(int, input().split())))
a_array.append(list(map(int, input().split())))
a_array.append(list(map(int, input().split())))
N = int(input())
b_set = set()
for i in range(N):
b_set.add(int(input()))
bingos = [[a_array[0][0],a_array[0][1],a_array[0][1]],
[a_array... | #157b
a_array = []
a_array.append(list(map(int, input().split())))
a_array.append(list(map(int, input().split())))
a_array.append(list(map(int, input().split())))
N = int(input())
b_set = set()
for i in range(N):
b_set.add(int(input()))
bingos = [[a_array[0][0],a_array[0][1],a_array[0][2]],
[a_array... | [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 548,181 | 548,182 | u314089899 | python |
p02760 | #157b
a=[[int(i) for i in input().split()] for _ in range(3)]
n=int(input())
for i in range(n):
b=int(input())
for j in range(3):
for k in range(3):
if a[j][k]==b:
a[j][k]=0
ans='No'
for i in range(3):
if a[i][0]==a[i][1]==[i][2]:
ans='Yes'
elif a[0][i]==a[1][i]==a[2][i]:
ans='Yes'
elif a[0][0]==a[1... | #157b
a=[[int(i) for i in input().split()] for _ in range(3)]
n=int(input())
for i in range(n):
b=int(input())
for j in range(3):
for k in range(3):
if a[j][k]==b:
a[j][k]=0
ans='No'
for i in range(3):
if a[i][0]==a[i][1]==a[i][2]:
ans='Yes'
elif a[0][i]==a[1][... | [
"control_flow.branch.if.condition.change"
] | 548,183 | 548,184 | u562550538 | python |
p02760 | import numpy as np
def run():
A = [list(map(int, input().split())) for n in range(3)]
A = np.array(A)
N = int(input())
for n in range(N):
b = int(input())
for i in range(3):
for j in range(3):
a = A[i][j]
if a == b:
A[i][j] = 0
print(A)
ans = 1
left = 0
right = 0... | import numpy as np
def run():
A = [list(map(int, input().split())) for n in range(3)]
A = np.array(A)
N = int(input())
for n in range(N):
b = int(input())
for i in range(3):
for j in range(3):
a = A[i][j]
if a == b:
A[i][j] = 0
ans = 1
left = 0
right = 0
for i in... | [
"call.remove"
] | 548,188 | 548,189 | u365375535 | python |
p02760 | a = []
for _ in range(3):
a.extend(list(map(int, input().split())))
n = int(input())
b = []
for _ in range(n):
b.append(int(input()))
marked = [False]*9
for i in b:
for ind, num in enumerate(a):
if i==num:
marked[ind] = True
break
bingos = [
(0,1), (3,1), (6,1), (0,3),... | a = []
for _ in range(3):
a.extend(list(map(int, input().split())))
n = int(input())
b = []
for _ in range(n):
b.append(int(input()))
marked = [False]*9
for i in b:
for ind, num in enumerate(a):
if i==num:
marked[ind] = True
break
bingos = [
(0,1), (3,1), (6,1), (0,3),... | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 548,190 | 548,191 | u318127926 | python |
p02760 | #!/usr/bin/env python3
def func(a, i):
return {a[0]:i, a[1]:i+1, a[2]:i+2}
A = {}
for i in range(3):
A.update(func(input().split(), 3*i))
N = int(input())
b = [A.get(input(), -1) for _ in range(N)]
bingo = [[0, 1, 2], [3, 4, 5], [6, 7, 8],
[0, 3, 6], [1, 4, 7], [2, 5, 8],
[0, 4, 8], [2, 5, 6]]... | #!/usr/bin/env python3
def func(a, i):
return {a[0]:i, a[1]:i+1, a[2]:i+2}
A = {}
for i in range(3):
A.update(func(input().split(), 3*i))
N = int(input())
b = [A.get(input(), -1) for _ in range(N)]
bingo = [[0, 1, 2], [3, 4, 5], [6, 7, 8],
[0, 3, 6], [1, 4, 7], [2, 5, 8],
[0, 4, 8], [2, 4, 6]]... | [
"literal.number.integer.change",
"assignment.value.change"
] | 548,192 | 548,193 | u665598835 | python |
p02760 | import numpy as np
def main():
a_list = np.array([list(map(int, input().split())) for _ in range(3)])
n = int(input())
b_list = [int(input()) for _ in range(n)]
for b in b_list:
tmp = np.argwhere(a_list == b).tolist()
if tmp:
a_list[tmp[0][0], tmp[0][1]] = 0
print(a_list)... | import numpy as np
def main():
a_list = np.array([list(map(int, input().split())) for _ in range(3)])
n = int(input())
b_list = [int(input()) for _ in range(n)]
for b in b_list:
tmp = np.argwhere(a_list == b).tolist()
if tmp:
a_list[tmp[0][0], tmp[0][1]] = 0
for i in rang... | [
"call.remove"
] | 548,194 | 548,195 | u322297639 | python |
p02760 | import numpy as np
def main():
a_list = np.array([list(map(int, input().split())) for _ in range(3)])
n = int(input())
b_list = [int(input()) for _ in range(n)]
for b in b_list:
tmp = np.argwhere(a_list == b).tolist()
if tmp:
a_list[tmp[0][0], tmp[0][1]] = 0
for i in ran... | import numpy as np
def main():
a_list = np.array([list(map(int, input().split())) for _ in range(3)])
n = int(input())
b_list = [int(input()) for _ in range(n)]
for b in b_list:
tmp = np.argwhere(a_list == b).tolist()
if tmp:
a_list[tmp[0][0], tmp[0][1]] = 0
for i in rang... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 548,196 | 548,195 | u322297639 | python |
p02760 | #ABC-157-B
#ビンゴゲーム
#coding utf-8
import math
a = [list(map(int,input().split())) for _ in range(3)]#2次元配列の入力
n = int(input())
b = [int(input()) for _ in range(n)]#n回入力(行変え)
flag = [[False] * 3 for _ in range(3)]#判定のためのbool変数
for i in range(3):
for j in range(3):
if a[i][j] in b:
flag[i][j] = T... | import math
a = [list(map(int,input().split())) for _ in range(3)]#2次元配列の入力
n = int(input())
b = [int(input()) for _ in range(n)]#n回入力(行変え)
flag = [[False] * 3 for _ in range(3)]#判定のためのbool変数
for i in range(3):
for j in range(3):
if a[i][j] in b:
flag[i][j] = True#aにbが含まれていたらflag[][]をTrueに
#ここ... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,199 | 548,200 | u701404162 | python |
p02760 | def main():
A = [list(map(int, input().split())) for i in range(3)]
N = int(input())
b = [int(input()) for i in range(N)]
for i in range(3):
for j in range(3):
for k in range(N):
if (A[i][j] == b(k)):
A[i][j] = 0
ans = "No"
for i ... | def main():
A = [list(map(int, input().split())) for i in range(3)]
N = int(input())
b = [int(input()) for i in range(N)]
for i in range(3):
for j in range(3):
for k in range(N):
if A[i][j] == b[k]:
A[i][j] = 0
ans = "No"
for i in... | [
"control_flow.branch.if.condition.change"
] | 548,205 | 548,206 | u305534505 | python |
p02760 |
ls_a = []
for i in range(3):
ls_a.extend(list(map(int,input().split())))
n = int(input())
ls_b = [int(input()) for i in range(n)]
for i in range(9):
if ls_a[i] in ls_b:
ls_a[i] = 0
for i in range(3):
if ls_a[i] == 0 and ls_a[i+3] == 0 and ls_a[i+6] == 0:
print("Yes")
exit()
if ... |
ls_a = []
for i in range(3):
ls_a.extend(list(map(int,input().split())))
n = int(input())
ls_b = [int(input()) for i in range(n)]
for i in range(9):
if ls_a[i] in ls_b:
ls_a[i] = 0
for i in range(3):
if ls_a[i] == 0 and ls_a[i+3] == 0 and ls_a[i+6] == 0:
print("Yes")
exit()
if... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,207 | 548,208 | u738898077 | python |
p02760 | A = [list(map(int,input().split())) for _ in range(3)]
N = int(input())
B = [int(input()) for _ in range(N)]
for b in B:
for i in range(3):
for j in range(3):
if A[i][j] == b:
A[i][j] = -100
print(A)
f = False
for i in range(3):
s = 0
for j in range(3):
s += A[i][j]
if s == -300:
f = ... | A = [list(map(int,input().split())) for _ in range(3)]
N = int(input())
B = [int(input()) for _ in range(N)]
for b in B:
for i in range(3):
for j in range(3):
if A[i][j] == b:
A[i][j] = -100
f = False
for i in range(3):
s = 0
for j in range(3):
s += A[i][j]
if s == -300:
f = True
for... | [
"call.remove"
] | 548,209 | 548,210 | u009348313 | python |
p02760 | a = list()
for i in range(3):
a.append([int(x) for x in input().split()])
n = int(input())
b = list()
for i in range(n):
b.append(int(input()))
appear = [[0,0,0],[0,0,0],[0,0,0]]
for i in range(3):
for j in range(3):
for k in b:
if (a[i][j] == k):
appear[i][j] == 1
def x... | a = list()
for i in range(3):
a.append([int(x) for x in input().split()])
n = int(input())
b = list()
for i in range(n):
b.append(int(input()))
appear = [[0,0,0],[0,0,0],[0,0,0]]
for i in range(3):
for j in range(3):
for k in b:
if (a[i][j] == k):
appear[i][j] = 1
def x ... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 548,211 | 548,212 | u590825760 | python |
p02760 | A=[]
cnt=0
for i in range(3):
A.append(list(map(int,input().split())))
n=int(input())
for i in range(n):
s=int(input())
for k in range(3):
if s in A[k]:
A[k][A[k].index(s)]="○"
for l in range(3):
if A[l][0]=="○"and A[l][1]=="○"and A[l][2]:
cnt+=1
elif A[0][l]=="○" and A[1][l]=="○"and A[2][l]=="○... | A=[]
cnt=0
for i in range(3):
A.append(list(map(int,input().split())))
n=int(input())
for i in range(n):
s=int(input())
for k in range(3):
if s in A[k]:
A[k][A[k].index(s)]="○"
for l in range(3):
if A[l][0]=="○"and A[l][1]=="○"and A[l][2]=="○":
cnt+=1
elif A[0][l]=="○" and A[1][l]=="○"and A[2][l... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 548,213 | 548,214 | u459752408 | python |
p02760 | def main(a: list, n: int, b: list):
res = [[False, False, False], [False, False, False], [False, False, False]]
for b in b:
for i, a_row in enumerate(a):
for j, a_col in enumerate(a_row):
if b == a_col:
res[i][j] = True
for i in range(3):
# ro... | def main(a: list, n: int, b: list):
res = [[False, False, False], [False, False, False], [False, False, False]]
for b in b:
for i, a_row in enumerate(a):
for j, a_col in enumerate(a_row):
if b == a_col:
res[i][j] = True
for i in range(3):
# ro... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 548,233 | 548,234 | u977642052 | python |
p02760 | ソースコード
Copy
Copy
A=[]
flag=0
for i in range(3):
A.append(list(map(int,input().split())))
n=int(input())
for i in range(n):
s=int(input())
for k in range(3):
if s in A[k]:
A[k][A[k].index(s)]=0
if A[0]==[0,0,0] or A[1]==[0,0,0] or A[2]==[0,0,0]:
print("Yes")
flag=1
elif A[1][1]==0 and A[2][2]==0 a... | A=[]
flag=0
for i in range(3):
A.append(list(map(int,input().split())))
n=int(input())
for i in range(n):
s=int(input())
for k in range(3):
if s in A[k]:
A[k][A[k].index(s)]=0
if A[0]==[0,0,0] or A[1]==[0,0,0] or A[2]==[0,0,0]:
print("Yes")
flag=1
elif A[1][1]==0 and A[2][2]==0 and A[0][0]==0:
pr... | [] | 548,248 | 548,249 | u281796054 | python |
p02760 | A=[]
flag=0
for i in range(3):
A.append(list(map(int,input().split())))
n=int(input())
for i in range(n):
s=int(input())
for k in range(3):
if s in A[k]:
A[k][A[k].index(s)]=0
if A[0]==[0,0,0] or A[1]==[0,0,0] or A[2]==[0,0,0]:
print("Yes")
flag=1
elif A[1][1]==0 and A[2][2]==0 and A[0][0]==0:
pr... | A=[]
flag=0
for i in range(3):
A.append(list(map(int,input().split())))
n=int(input())
for i in range(n):
s=int(input())
for k in range(3):
if s in A[k]:
A[k][A[k].index(s)]=0
if A[0]==[0,0,0] or A[1]==[0,0,0] or A[2]==[0,0,0]:
print("Yes")
flag=1
elif A[1][1]==0 and A[2][2]==0 and A[0][0]==0:
pr... | [
"call.remove"
] | 548,250 | 548,249 | u281796054 | python |
p02760 | # coding: utf-8
# Your code here!
ls = []
count = [0]*9
for i in range(3):
ls.extend(input().split(' '))
for i in range(int(input())):
s = input()
if s in ls:
i = ls.index(s)
count[i]="1"
flag = 0
for i in range(3):
if count[i] == count[i+3] == count[i+6]=="1":
flag = 1
b... | # coding: utf-8
# Your code here!
ls = []
count = [0]*9
for i in range(3):
ls.extend(input().split(' '))
for i in range(int(input())):
s = input()
if s in ls:
i = ls.index(s)
count[i]="1"
flag = 0
for i in range(3):
if count[i] == count[i+3] == count[i+6]=="1":
flag = 1
b... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,258 | 548,257 | u199845325 | python |
p02760 | # coding: utf-8
# Your code here!
ls = []
count = [0]*9
for i in range(3):
ls.extend(input().split(' '))
for i in range(int(input())):
s = input()
if s in ls:
i = ls.index(s)
count[i]="1"
flag = 0
for i in range(3):
if count[i] == count[i+3] == count[i+6]=="1":
flag = 1
... | # coding: utf-8
# Your code here!
ls = []
count = [0]*9
for i in range(3):
ls.extend(input().split(' '))
for i in range(int(input())):
s = input()
if s in ls:
i = ls.index(s)
count[i]="1"
flag = 0
for i in range(3):
if count[i] == count[i+3] == count[i+6]=="1":
flag = 1
b... | [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,259 | 548,257 | u199845325 | python |
p02760 | bingo = [ list(map(int, input().split())) for _ in range(3) ]
t_or_f = [ [False]*3 for _ in range(3) ]
nums = [ r[i]for i in range(3) for r in bingo ]
n = int(input())
appear = [ int(input()) for _ in range(n) ]
for x in range(3):
for y in range(3):
if bingo[x][y] in appear:
t_or_f[x][y] = True
is_bingo... |
bingo = [ list(map(int, input().split())) for _ in range(3) ]
t_or_f = [ [False]*3 for _ in range(3) ]
nums = [ r[i]for i in range(3) for r in bingo ]
n = int(input())
appear = [ int(input()) for _ in range(n) ]
for x in range(3):
for y in range(3):
if bingo[x][y] in appear:
t_or_f[x][y] = True
is_bing... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,268 | 548,269 | u723711163 | python |
p02760 | A = [list(map(int,input().split())) for i in range(3)]
n = int(input())
b = []
for i in range(n):
b.append(int(input()))
V = [[False,False,False],[False,False,False],[False,False,False]]
for i in b:
for i in range(len(A)):
for j in range(len(A[i])):
if(A[i][j] == i):
V[i][j... | A = [list(map(int,input().split())) for i in range(3)]
n = int(input())
b = []
for i in range(n):
b.append(int(input()))
V = [[False,False,False],[False,False,False],[False,False,False]]
for bb in b:
for i in range(len(A)):
for j in range(len(A[i])):
if(A[i][j] == bb):
V[i]... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 548,277 | 548,278 | u818078165 | python |
p02760 | a = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
for i in range(n):
b = int(input())
for j in range(3):
if b in a[j]:
idx = a[j].index(b)
a[j][idx] = 0
print(a)
for k in range(3):
if sum(a[k]) == 0: # 横の確認
print('Yes')
exit()
elif ... | a = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
for i in range(n):
b = int(input())
for j in range(3):
if b in a[j]:
idx = a[j].index(b)
a[j][idx] = 0
# print(a)
for k in range(3):
if sum(a[k]) == 0: # 横の確認
print('Yes')
exit()
eli... | [
"call.remove"
] | 548,288 | 548,289 | u281610856 | python |
p02760 | a1j=list(map(int,input().split()))
a2j=list(map(int,input().split()))
a3j=list(map(int,input().split()))
n = int(input())
for i in range(n):
b = int(input())
if b in a1j:
a1j[a1j.index(b)] = 0
if b in a2j:
a2j[a2j.index(b)] = 0
if b in a3j:
a3j[a3j.index(b)] = 0
ans = "No"
if ... | a1j=list(map(int,input().split()))
a2j=list(map(int,input().split()))
a3j=list(map(int,input().split()))
n = int(input())
for i in range(n):
b = int(input())
if b in a1j:
a1j[a1j.index(b)] = 0
if b in a2j:
a2j[a2j.index(b)] = 0
if b in a3j:
a3j[a3j.index(b)] = 0
ans = "No"
if ... | [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 548,290 | 548,291 | u971091945 | python |
p02760 | def hasTri(arrs):
k = [arrs[0][0], arrs[1][1], arrs[2][2]]
l = [arrs[2][0], arrs[2][2], arrs[2][0]]
if not False in k:
return True
if not False in l:
return True
return False
def hascol(arrs):
for i in range(3):
k = [arrs[0][i], arrs[1][i], arrs[2][i]]
if not Fals... | def hasTri(arrs):
k = [arrs[0][0], arrs[1][1], arrs[2][2]]
l = [arrs[0][2], arrs[1][1], arrs[2][0]]
if not False in k:
return True
if not False in l:
return True
return False
def hascol(arrs):
for i in range(3):
k = [arrs[0][i], arrs[1][i], arrs[2][i]]
if not Fals... | [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 548,294 | 548,295 | u135360096 | python |
p02760 | a = [input().split() for a in range(3)]
a1 = [a[0][0],a[0][1],a[0][2]]
a2 = [a[1][0],a[1][1],a[1][2]]
a3 = [a[2][0],a[2][1],a[2][2]]
a4 = [a[0][0],a[1][1],a[2][2]]
a5 = [a[0][2],a[1][1],a[2][0]]
a6 = [a[0][0],a[1][0],a[2][0]]
a7 = [a[0][1],a[1][1],a[2][1]]
a8 = [a[0][2],a[1][2],a[2][2]]
n = int(input())
B = [int(input(... | a = [input().split() for a in range(3)]
a1 = [a[0][0],a[0][1],a[0][2]]
a2 = [a[1][0],a[1][1],a[1][2]]
a3 = [a[2][0],a[2][1],a[2][2]]
a4 = [a[0][0],a[1][1],a[2][2]]
a5 = [a[0][2],a[1][1],a[2][0]]
a6 = [a[0][0],a[1][0],a[2][0]]
a7 = [a[0][1],a[1][1],a[2][1]]
a8 = [a[0][2],a[1][2],a[2][2]]
n = int(input())
B = [input() fo... | [
"call.remove",
"call.arguments.change"
] | 548,298 | 548,299 | u628581330 | python |
p02760 | import sys
A=[]
for i in range(3):
A.append(list(map(int,input().split())))
N=int(input())
for i in range(N):
b=int(input())
for j in range(3):
if b in A[j]:
for k in range(3):
if A[j][k]==b:
A[j][k]=0
if A[0][0] == 0 and A[1][1] ==0 and A[2][2]==0:
print("Yes")
sys.exit(0)
elif A... | import sys
A=[]
for i in range(3):
A.append(list(map(int,input().split())))
N=int(input())
for i in range(N):
b=int(input())
for j in range(3):
if b in A[j]:
for k in range(3):
if A[j][k]==b:
A[j][k]=0
if A[0][0] == 0 and A[1][1] ==0 and A[2][2]==0:
print("Yes")
sys.exit(0)
elif A[... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"call.remove"
] | 548,302 | 548,303 | u280853184 | python |
p02760 | import numpy as np
A = []
marubatsu = np.zeros((3,3),dtype=int)
for _ in range(3):
a = list(map(int, input().split()))
A.append(a)
n = int(input())
lott = []
for _ in range(n):
lott.append(int(input()))
for i in lott:
for j in range(3):
for k in range(3):
if A[j][k] == i:
... | import numpy as np
A = []
marubatsu = np.zeros((3,3),dtype=int)
for _ in range(3):
a = list(map(int, input().split()))
A.append(a)
n = int(input())
lott = []
for _ in range(n):
lott.append(int(input()))
for i in lott:
for j in range(3):
for k in range(3):
if A[j][k] == i:
... | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 548,319 | 548,320 | u303384315 | python |
p02760 | a = [input().split() for l in range(3)]
n = int(input())
b = [input() for i in range(n)]
c = [a[0][0],a[1][1],a[2][2]]
d = [a[0][2],a[1][1],a[2][0]]
tate1 = len(set(a[0]) & set(b))
tate2 = len(set(a[1]) & set(b))
tate3 = len(set(a[2]) & set(b))
yoko1 = len(set([x[0] for x in a]) & set(b))
yoko2 = len(set([x[1] for x in... | a = [input().split() for l in range(3)]
n = int(input())
b = [input() for i in range(n)]
c = [a[0][0],a[1][1],a[2][2]]
d = [a[0][2],a[1][1],a[2][0]]
tate1 = len(set(a[0]) & set(b))
tate2 = len(set(a[1]) & set(b))
tate3 = len(set(a[2]) & set(b))
yoko1 = len(set([x[0] for x in a]) & set(b))
yoko2 = len(set([x[1] for x in... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 548,323 | 548,324 | u693200186 | python |
p02760 | a=[list(map(int,input().split())) for _ in range(3)]
n=int(input())
b=[int(input()) for _ in range(n)]
maze=[["*" for i in range(3)] for _ in range(3)]
for i in range(3):
for j in range(3):
for k in range(n):
if b[i]==a[j][k]:
maze[j][k]="#"
for i in range(3):
f=1
for j i... | a=[list(map(int,input().split())) for _ in range(3)]
n=int(input())
b=[int(input()) for _ in range(n)]
maze=[["*" for i in range(3)] for _ in range(3)]
for i in range(n):
for j in range(3):
for k in range(3):
if b[i]==a[j][k]:
maze[j][k]="#"
for i in range(3):
f=1
for j i... | [
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"identifier.replace.remove",
"literal.replace.add"
] | 548,325 | 548,326 | u703214333 | python |
p02760 | a=[input().split() for i in range(3)]
n=int(input())
b=[int(input()) for i in range(n)]
for i in range(3):
for j in range(3):
if int(a[i][j]) in b:
a[i][j]=999
#印をつける
c=0
for i in range(3):
if a[i][0]==999 and a[i][1]==999 and a[i][2]==999:
c+=1
break
elif a[0][i]==999 an... | a=[input().split() for i in range(3)]
n=int(input())
b=[int(input()) for i in range(n)]
for i in range(3):
for j in range(3):
if int(a[i][j]) in b:
a[i][j]=999
#印をつける
c=0
for i in range(3):
if a[i][0]==999 and a[i][1]==999 and a[i][2]==999:
c+=1
break
elif a[0][i]==999 an... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,329 | 548,330 | u553070631 | python |
p02760 | ansList = [[0] * 3 for i in range(3)]
a_i = []
for x in range(3):
a_i.append(list(map(int, input().split())))
n = int(input())
for x in range(n):
val = int(input())
for id in range(3):
if(val in a_i[id]):
ansList[id][a_i[id].index(val)] = 1
break
#横
if(ansList[0][0] == 1 and... | ansList = [[0] * 3 for i in range(3)]
a_i = []
for x in range(3):
a_i.append(list(map(int, input().split())))
n = int(input())
for x in range(n):
val = int(input())
for id in range(3):
if(val in a_i[id]):
ansList[id][a_i[id].index(val)] = 1
break
#横
if(ansList[0][0] == 1 and... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,335 | 548,336 | u556610039 | python |
p02760 | # coding: utf-8
A = []
for i in range(3):
a = list(map(int, input().split()))
A.append(a[:])
N = int(input())
F = [[False for _ in range(3)] for _ in range(3)]
for i in range(N):
b = int(input())
for j in range(3):
for k in range(3):
if A[j][k] == b:
F[j][k] = True
fl... | # coding: utf-8
A = []
for i in range(3):
a = list(map(int, input().split()))
A.append(a[:])
N = int(input())
F = [[False for _ in range(3)] for _ in range(3)]
for i in range(N):
b = int(input())
for j in range(3):
for k in range(3):
if A[j][k] == b:
F[j][k] = True
fl... | [
"identifier.replace.remove",
"literal.replace.add",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"identifier.replace.add",
"literal.replace.remove"
] | 548,341 | 548,342 | u580697892 | python |
p02760 |
li1 = list(map(int,input().split()))
li1.extend(list(map(int,input().split())))
li1.extend(list(map(int,input().split())))
n = int(input())
for i in range(n):
p = int(input())
li1 = [0 if j == p else j for j in li1]
print(li1)
if ( li1[0] + li1[1] + li1[2] ) == 0:
print('Yes')
elif ( li1[3] + li1[4] + li1[5] ) =... | li1 = list(map(int,input().split()))
li1.extend(list(map(int,input().split())))
li1.extend(list(map(int,input().split())))
n = int(input())
for i in range(n):
p = int(input())
li1 = [0 if j == p else j for j in li1]
if ( li1[0] + li1[1] + li1[2] ) == 0:
print('Yes')
elif ( li1[3] + li1[4] + li1[5] ) == 0:
print... | [
"call.remove"
] | 548,363 | 548,364 | u071695942 | python |
p02760 | import sys
card = []
for i in range(3):
card.append([int(x) for x in input().split()])
N = int(input())
numbers = set()
for i in range(N):
numbers.add(int(input()))
def checker(s):
if len(s) == 1 and 'x' in s:
print('Yes')
sys.exit()
for i in range(3):
for j in range(3):
if... | import sys
card = []
for i in range(3):
card.append([int(x) for x in input().split()])
N = int(input())
numbers = set()
for i in range(N):
numbers.add(int(input()))
def checker(aa):
if len(aa) == 1 and 'x' in aa:
print('Yes')
sys.exit()
for i in range(3):
for j in range(3):
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 548,371 | 548,372 | u451076250 | python |
p02760 | a_1 = list(map(int, input().split()))
a_2 = list(map(int, input().split()))
a_3 = list(map(int, input().split()))
N = int(input())
c_1=[0,0,0]
c_2=[0,0,0]
c_3=[0,0,0]
b = []
count = 0
for i in range(N):
b.append(int(input()))
for i in range(N):
for j in range(3):
if b[i] == a_1[j]:
... | a_1 = list(map(int, input().split()))
a_2 = list(map(int, input().split()))
a_3 = list(map(int, input().split()))
N = int(input())
c_1=[0,0,0]
c_2=[0,0,0]
c_3=[0,0,0]
b = []
count = 0
for i in range(N):
b.append(int(input()))
for i in range(N):
for j in range(3):
if b[i] == a_1[j]:
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 548,377 | 548,378 | u121276807 | python |
p02760 | a = []
for _ in range(3):
a.append(list(map(int, input().split())))
N = int(input())
b = [int(input()) for _ in range(N)]
ans = False
for i in range(3):
for j in range(3):
if a[i][j] in b:
a[i][j] = 0
for k in range(3):
if sum(a[i])==0:
ans = True
break
... | a = []
for _ in range(3):
a.append(list(map(int, input().split())))
N = int(input())
b = [int(input()) for _ in range(N)]
ans = False
for i in range(3):
for j in range(3):
if a[i][j] in b:
a[i][j] = 0
for i in range(3):
if sum(a[i])==0:
ans = True
break
... | [
"identifier.change"
] | 548,379 | 548,380 | u185948224 | python |
p02760 | #!/usr/bin/env python3
import sys
f = sys.stdin
A = [list(map(int, f.readline().split(' '))) for _ in range(3)]
f_A = A[0] + A[1] + A[2]
N = int(f.readline())
b = [int(f.readline()) for _ in range(N)]
row = {'0': 0, '1': 0, '2': 0}
col = {'0': 0, '1': 0, '2': 0}
left_diag = 0
right_diag = 0
result = 'No'
for i in ... | #!/usr/bin/env python3
import sys
f = sys.stdin
A = [list(map(int, f.readline().split(' '))) for _ in range(3)]
f_A = A[0] + A[1] + A[2]
N = int(f.readline())
b = [int(f.readline()) for _ in range(N)]
row = {'0': 0, '1': 0, '2': 0}
col = {'0': 0, '1': 0, '2': 0}
left_diag = 0
right_diag = 0
result = 'No'
for i in ... | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 548,385 | 548,386 | u824840917 | python |
p02760 | a,b,c=input().split()
d,e,f=input().split()
g,h,i=input().split()
N=int(input())
numbers=[input() for i in range(N)]
for n in numbers:
if a==n:
a=0
elif b==n:
b=0
elif c==n:
c=0
elif d==n:
d=0
elif e==n:
e=0
elif f==0:
f=0
elif g== n:
... | a,b,c=input().split()
d,e,f=input().split()
g,h,i=input().split()
N=int(input())
numbers=[input() for i in range(N)]
for n in numbers:
if a==n:
a=0
elif b==n:
b=0
elif c==n:
c=0
elif d==n:
d=0
elif e==n:
e=0
elif f==n:
f=0
elif g== n:
... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 548,387 | 548,388 | u263824932 | python |
p02760 | a1_list = list(map(int, input().split()))
a2_list = list(map(int, input().split()))
a3_list = list(map(int, input().split()))
a1_list.extend(a2_list)
a1_list.extend(a3_list)
n = int(input())
nums = []
for _ in range(n):
x = int(input())
nums.append(x)
result = "No"
patterns = [[0, 1, 2], [3, 4, 5], [6, 7, 8], [... | a1_list = list(map(int, input().split()))
a2_list = list(map(int, input().split()))
a3_list = list(map(int, input().split()))
a1_list.extend(a2_list)
a1_list.extend(a3_list)
n = int(input())
nums = []
for _ in range(n):
x = int(input())
nums.append(x)
result = "No"
patterns = [[0, 1, 2], [3, 4, 5], [6, 7, 8], [... | [
"literal.number.integer.change",
"assignment.value.change"
] | 548,391 | 548,392 | u221580805 | python |
p02760 | A = []
for i in range(3):
A.append(list(map(int,input().split())))
N = int(input())
B = []
for i in range(N):
B.append(int(input()))
for i in range(3):
A.append([A[0][i] ,A[1][i] ,A[2][i]])
A.append([A[0][0] ,A[1][1] ,A[2][2]])
A.append([A[0][2] ,A[1][1] ,A[2][0]])
cnt1 = 0
for i in range(7):
cnt = ... | A = []
for i in range(3):
A.append(list(map(int,input().split())))
N = int(input())
B = []
for i in range(N):
B.append(int(input()))
for i in range(3):
A.append([A[0][i] ,A[1][i] ,A[2][i]])
A.append([A[0][0] ,A[1][1] ,A[2][2]])
A.append([A[0][2] ,A[1][1] ,A[2][0]])
#print(A)
cnt1 = 0
for i in range(8):
... | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 548,397 | 548,398 | u812576525 | python |
p02760 | a_list = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
b_list = [int(input()) for _ in range(n)]
for y in range(3):
for b in b_list:
if b in a_list[y]:
index = a_list[y].index(b)
a_list[y][index] = -1
is_bingo = False
for y in range(3):
if sum(a_list[y]) ... | a_list = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
b_list = [int(input()) for _ in range(n)]
for y in range(3):
for b in b_list:
if b in a_list[y]:
index = a_list[y].index(b)
a_list[y][index] = -1
is_bingo = False
for y in range(3):
if sum(a_list[y]) ... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 548,406 | 548,407 | u319345083 | python |
p02760 | A1 = list(map(int,input().split()))
A2 = list(map(int,input().split()))
A3 = list(map(int,input().split()))
N = int(input())
B = []
for i in range(N):
b = int(input())
B.append(b)
for i in B:
for j in range(3):
if i == A1[j]:
A1[j] = 0
elif i == A2[j]:
A2[j] = 0
... | A1 = list(map(int,input().split()))
A2 = list(map(int,input().split()))
A3 = list(map(int,input().split()))
N = int(input())
B = []
for i in range(N):
b = int(input())
B.append(b)
for i in B:
for j in range(3):
if i == A1[j]:
A1[j] = 0
elif i == A2[j]:
A2[j] = 0
... | [
"assignment.variable.change",
"identifier.change"
] | 548,408 | 548,409 | u257251421 | python |
p02760 | line1 = input().split(" ")
line2 = input().split(" ")
line3 = input().split(" ")
result1 = []
result2 = []
result3 = []
for i in range(3):
result1.append("0")
result2.append("0")
result3.append("0")
call_sum = int(input())
for j in range(call_sum):
call_num = int(input())
for i in range(3):
if call_nu... | line1 = input().split(" ")
line2 = input().split(" ")
line3 = input().split(" ")
result1 = []
result2 = []
result3 = []
for i in range(3):
result1.append("0")
result2.append("0")
result3.append("0")
call_sum = int(input())
for j in range(call_sum):
call_num = int(input())
for i in range(3):
if call_nu... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,418 | 548,419 | u936391676 | python |
p02760 | line1 = input().split(" ")
line2 = input().split(" ")
line3 = input().split(" ")
result1 = []
result2 = []
result3 = []
for i in range(3):
result1.append("0")
result2.append("0")
result3.append("0")
call_sum = int(input())
for j in range(call_sum):
call_num = int(input())
for i in range(3):
if call_nu... | line1 = input().split(" ")
line2 = input().split(" ")
line3 = input().split(" ")
result1 = []
result2 = []
result3 = []
for i in range(3):
result1.append("0")
result2.append("0")
result3.append("0")
call_sum = int(input())
for j in range(call_sum):
call_num = int(input())
for i in range(3):
if call_nu... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 548,420 | 548,419 | u936391676 | python |
p02760 | a1=list(map(int,input().split(" ")))
a2=list(map(int,input().split(" ")))
a3=list(map(int,input().split(" ")))
N=int(input())
b=[]
for i in range(N):
b.append(int(input()))
allnum=[]
allnum.append(a1)
allnum.append(a2)
allnum.append(a3)
bingo=[[0,0,0],[0,0,0],[0,0,0]]
for k in b:
for i in range(3):
... | a1=list(map(int,input().split(" ")))
a2=list(map(int,input().split(" ")))
a3=list(map(int,input().split(" ")))
N=int(input())
b=[]
for i in range(N):
b.append(int(input()))
allnum=[]
allnum.append(a1)
allnum.append(a2)
allnum.append(a3)
bingo=[[0,0,0],[0,0,0],[0,0,0]]
for k in b:
for i in range(3):
... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,435 | 548,436 | u947101138 | python |
p02760 | a=list(map(int,input().split()))
b=list(map(int,input().split()))
c=list(map(int,input().split()))
maru=111
flag=0
n=int(input())
for k in range(0,n):
e=int(input())
for i in range(0,3):
if e==a[i]:
a[i]=maru
if e==b[i]:
b[i]=maru
if e==c[i]:
c[i]=... | a=list(map(int,input().split()))
b=list(map(int,input().split()))
c=list(map(int,input().split()))
maru=111
flag=0
n=int(input())
for k in range(0,n):
e=int(input())
for i in range(0,3):
if e==a[i]:
a[i]=maru
if e==b[i]:
b[i]=maru
if e==c[i]:
c[i]=... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,437 | 548,438 | u030410515 | python |
p02760 | a=list(map(int,input().split()))
b=list(map(int,input().split()))
c=list(map(int,input().split()))
maru=111
flag=0
n=int(input())
for k in range(0,n):
e=int(input())
for i in range(0,3):
if e==a[i]:
a[i]=maru
if e==b[i]:
b[i]=maru
if e==c[i]:
c[i]=... | a=list(map(int,input().split()))
b=list(map(int,input().split()))
c=list(map(int,input().split()))
maru=111
flag=0
n=int(input())
for k in range(0,n):
e=int(input())
for i in range(0,3):
if e==a[i]:
a[i]=maru
if e==b[i]:
b[i]=maru
if e==c[i]:
c[i]=... | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo",
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,439 | 548,438 | u030410515 | python |
p02760 | a1=[int(x) for x in input().split()]
a2=[int(x) for x in input().split()]
a3=[int(x) for x in input().split()]
n=int(input())
b=set()
for c in range(n):
b.add(int(input()))
t=list(range(8))
t[1]=set(a1)
t[2]=set(a2)
t[3]=set(a3)
t[4]={a1[0],a2[0],a3[0]}
t[5]={a1[1],a2[1],a3[1]}
t[6]={a1[2],a2[2],a3[2]}
t[7]={a1[0],... | a1=[int(x) for x in input().split()]
a2=[int(x) for x in input().split()]
a3=[int(x) for x in input().split()]
n=int(input())
b=set()
for c in range(n):
b.add(int(input()))
t=list(range(8))
t[1]=set(a1)
t[2]=set(a2)
t[3]=set(a3)
t[4]={a1[0],a2[0],a3[0]}
t[5]={a1[1],a2[1],a3[1]}
t[6]={a1[2],a2[2],a3[2]}
t[7]={a1[0],... | [
"literal.number.integer.change",
"assignment.value.change",
"variable_access.subscript.index.change"
] | 548,447 | 548,448 | u631299617 | python |
p02760 | a = list(map(int,input().split()))
a.extend(list(map(int,input().split())))
a.extend(list(map(int,input().split())))
n = int(input())
ins = []
for i in range(n):
b = int(input())
if b in a:
ins.append(a.index(b))
okp = [(0,1,2), (3,4,5), (6,7,8) ,(0,3,6), (1,3,7), (2,4,8), (0,4,8), (2,4,6)]
f = "No"
f... | a = list(map(int,input().split()))
a.extend(list(map(int,input().split())))
a.extend(list(map(int,input().split())))
n = int(input())
ins = []
for i in range(n):
b = int(input())
if b in a:
ins.append(a.index(b))
okp = [(0,1,2), (3,4,5), (6,7,8) ,(0,3,6), (1,4,7), (2,5 ,8), (0,4,8), (2,4,6)]
f = "No"
... | [
"literal.number.integer.change",
"assignment.value.change"
] | 548,454 | 548,455 | u254050469 | python |
p02760 | b = [0] * 9
def hantei():
for i in range(3):
if b[i * 3] == 1 and b[i * 3 + 1] == 1 and b[i * 3 + 2] == 1:
return True
for i in range(3):
if b[i] == 1 and b[i + 3] == 1 and b[i + 6] == 1:
return True
if b[0] == 1 and b[4] == 1 and b[8] == 1:
return True
... | b = [0] * 9
def hantei():
for i in range(3):
if b[i * 3] == 1 and b[i * 3 + 1] == 1 and b[i * 3 + 2] == 1:
return True
for i in range(3):
if b[i] == 1 and b[i + 3] == 1 and b[i + 6] == 1:
return True
if b[0] == 1 and b[4] == 1 and b[8] == 1:
return True
... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,456 | 548,457 | u284434653 | python |
p02760 | num_card = [[int(i) for i in input().split()] for _ in range(3)]
n = int(input())
b_array = [int(input()) for _ in range(n)]
card = [[False for _ in range(3)] for _ in range(3)]
for b in b_array:
for i in range(3):
for j in range(3):
if num_card[i][j] == b:
card[i][j] = True
b... | num_card = [[int(i) for i in input().split()] for _ in range(3)]
n = int(input())
b_array = [int(input()) for _ in range(n)]
card = [[False for _ in range(3)] for _ in range(3)]
for b in b_array:
for i in range(3):
for j in range(3):
if num_card[i][j] == b:
card[i][j] = True
b... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,465 | 548,466 | u330690418 | python |
p02760 | import collections as c
import sys
input = sys.stdin.readline
ip = lambda : map(int, input().split())
mod = 10**9+7
# ##############
A = []
for i in range(3):
A.append(list(ip()))
N = int(input())
for i in range(N):
b = int(input())
for j in range(3):
for k in range(3):
if A[j][k] == b:
... | import collections as c
import sys
input = sys.stdin.readline
ip = lambda : map(int, input().split())
mod = 10**9+7
# ##############
A = []
for i in range(3):
A.append(list(ip()))
N = int(input())
for i in range(N):
b = int(input())
for j in range(3):
for k in range(3):
if A[j][k] == b:
... | [
"call.remove"
] | 548,476 | 548,477 | u335278042 | python |
p02760 | a = [list(map(int, input().split())) for i in range(3)]
N = int(input())
b = [int(input()) for i in range(N)]
a = np.array(a)
b = np.array(b)
after = np.zeros((3,3))
for i in range(N):
after += a == b[i]
bool1 = (np.sum(after, axis=0)==3).sum()
bool2 = (np.sum(after, axis=1)==3).sum()
bool3 = (after[0,0]+aft... | import numpy as np
a = [list(map(int, input().split())) for i in range(3)]
N = int(input())
b = [int(input()) for i in range(N)]
a = np.array(a)
b = np.array(b)
after = np.zeros((3,3))
for i in range(N):
after += a == b[i]
bool1 = (np.sum(after, axis=0)==3).sum()
bool2 = (np.sum(after, axis=1)==3).sum()
boo... | [] | 548,480 | 548,481 | u861109991 | python |
p02760 | A = list(input().split() for l in range(3))
N = int(input())
B = list(int(input()) for i in range(N))
for s in B:
for i in range(3):
for j in range(3):
if A[i][j] == str(s):
A[i][j] = "0"
def bingo(A):
for i in range(3):
if A[i][0] + A[i][0] + A[i][2] == "000" or A[... | A = list(input().split() for l in range(3))
N = int(input())
B = list(int(input()) for i in range(N))
for s in B:
for i in range(3):
for j in range(3):
if A[i][j] == str(s):
A[i][j] = "0"
def bingo(A):
for i in range(3):
if A[i][0] + A[i][1] + A[i][2] == "000" or A[... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,489 | 548,490 | u712284046 | python |
p02760 | A1 = list(map(int,input().split(' ')))
A2 = list(map(int,input().split(' ')))
A3 = list(map(int,input().split(' ')))
N = int(input())
B = [0]*N
for i in range(N):
b = int(input())
B[i]=b
marubatu = [[0,0,0],
[0,0,0],
[0,0,0]]
for b in B:
for i,a1 in enumerate(A1):
if b==a1:
marubatu[0]... | A1 = list(map(int,input().split(' ')))
A2 = list(map(int,input().split(' ')))
A3 = list(map(int,input().split(' ')))
N = int(input())
B = [0]*N
for i in range(N):
b = int(input())
B[i]=b
marubatu = [[0,0,0],
[0,0,0],
[0,0,0]]
for b in B:
for i,a1 in enumerate(A1):
if b==a1:
marubatu[0]... | [
"assignment.variable.change",
"identifier.change"
] | 548,491 | 548,492 | u680046686 | python |
p02760 | A_1 = list(map(int, input().split()))
A_2 =list(map(int, input().split()))
A_3 =list(map(int, input().split()))
A = A_1 +A_2 +A_3
N = int(input())
b = [int(input()) for _ in range(N)]
for i in range(N):
for j in range(9):
if b[i] == A[j]:
A[j] = 0
if A[0]==A[1]==A[2]==0 or A[3]==A[4]==A[5]==0 or... | A_1 = list(map(int, input().split()))
A_2 =list(map(int, input().split()))
A_3 =list(map(int, input().split()))
A = A_1 +A_2 +A_3
N = int(input())
b = [int(input()) for _ in range(N)]
for i in range(N):
for j in range(9):
if b[i] == A[j]:
A[j] = 0
if A[0]==A[1]==A[2]==0 or A[3]==A[4]==A[5]==0 or... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,493 | 548,494 | u529106146 | python |
p02760 | a = []
for i in range(3):
ai = list(map(int, input().split()))
a += [ai]
bingo = [[False, False, False], [False, False, False], [False, False, False]]
n = int(input())
for i in range(n):
b = int(input())
for j in range(3):
if b in a[j]:
bingo[j][a[j].index(b)] = True
brea... | a = []
for i in range(3):
ai = list(map(int, input().split()))
a += [ai]
bingo = [[False, False, False], [False, False, False], [False, False, False]]
n = int(input())
for i in range(n):
b = int(input())
for j in range(3):
if b in a[j]:
bingo[j][a[j].index(b)] = True
brea... | [
"identifier.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,497 | 548,498 | u641460756 | python |
p02760 | def checkbingo(bingo,bs):
for b in bingo:
cnt = 0
for n in bs:
if n in b:
cnt +=1
if cnt == len(b):
return True
return False
list1 = input('').split(' ')
list2 = input('').split(' ')
list3 = input('').split(' ')
bingo = [list1,list2,list3]
bingo.append([list1[0],list2[0],list3[0]])
... | def checkbingo(bingo,bs):
for b in bingo:
cnt = 0
for n in bs:
if n in b:
cnt +=1
if cnt == len(b):
return True
return False
list1 = input('').split(' ')
list2 = input('').split(' ')
list3 = input('').split(' ')
bingo = [list1,list2,list3]
bingo.append([list1[0],list2[0],list3[0]])
... | [
"identifier.change",
"call.arguments.change"
] | 548,501 | 548,502 | u194228880 | python |
p02760 | mat = [[map(int,input().split())] for i in range(3)]
mat = mat[0]+mat[1]+mat[2]
n = int(input())
for _ in range(n):
m = int(input())
for i in range(9):
if mat[i] == m:
mat[i] = 1000
if sum(mat[:3])>=3000:
print("Yes")
elif sum(mat[3:6])>=3000:
print("Yes")
elif sum(mat[6:])>=3000:
print("Yes")
eli... | mat = [list(map(int,input().split())) for i in range(3)]
mat = mat[0]+mat[1]+mat[2]
n = int(input())
for _ in range(n):
m = int(input())
for i in range(9):
if mat[i] == m:
mat[i] = 1000
if sum(mat[:3])>=3000:
print("Yes")
elif sum(mat[3:6])>=3000:
print("Yes")
elif sum(mat[6:])>=3000:
print("Yes")... | [
"assignment.value.change",
"call.arguments.change"
] | 548,503 | 548,504 | u115110170 | python |
p02760 | A = []
bingo = []
for i in range(3):
A.append(list(map(int, input().split())))
bingo.append([False] * 3)
N = int(input())
for i in range(N):
b = int(input())
for j in range(3):
if b in A[j]:
idx = A[j].index(b)
bingo[j][idx] = True
# check
migiue = True
migisita = True... | A = []
bingo = []
for i in range(3):
A.append(list(map(int, input().split())))
bingo.append([False] * 3)
N = int(input())
for i in range(N):
b = int(input())
for j in range(3):
if b in A[j]:
idx = A[j].index(b)
bingo[j][idx] = True
# check
migiue = True
migisita = True... | [
"expression.operation.unary.arithmetic.remove",
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove"
] | 548,509 | 548,510 | u181668771 | python |
p02760 | A = []
for i in range(3):
a = list(map(int, input().split()))
A.append(a)
N = int(input())
B = []
for i in range(N):
B.append(int(input()))
for b in B:
for i in range(3):
for j in range(3):
if b == A[i][j]:
A[i][j] = 0
ans = "NO"
for i in range(3):
if A[i][0] ... | A = []
for i in range(3):
a = list(map(int, input().split()))
A.append(a)
N = int(input())
B = []
for i in range(N):
B.append(int(input()))
for b in B:
for i in range(3):
for j in range(3):
if b == A[i][j]:
A[i][j] = 0
ans = "No"
for i in range(3):
if A[i][0] ... | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 548,519 | 548,520 | u685510108 | python |
p02760 | A1 = list(map(int, input().split()))
A2 = list(map(int, input().split()))
A3 = list(map(int, input().split()))
N = int(input())
B = [int(input()) for _ in range(N)]
for b in B:
for i in range(3):
if b == A1[i]:
A1[i] = 0
if b == A2[i]:
A2[i] = 0
if b == A3[i]:
... | A1 = list(map(int, input().split()))
A2 = list(map(int, input().split()))
A3 = list(map(int, input().split()))
N = int(input())
B = [int(input()) for _ in range(N)]
for b in B:
for i in range(3):
if b == A1[i]:
A1[i] = 0
if b == A2[i]:
A2[i] = 0
if b == A3[i]:
... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,535 | 548,536 | u123648284 | python |
p02760 | for i in range(3):
line = input().rstrip().split(' ')
array_1.append(line)
bool_array = []
for i in range(3):
tmp = []
for j in range(3):
tmp.append(False)
bool_array.append(tmp)
num = int(input().rstrip())
for i in range(num):
input_line = input().rstrip()
for j in range(3):
... | array_1 = []
for i in range(3):
line = input().rstrip().split(' ')
array_1.append(line)
bool_array = []
for i in range(3):
tmp = []
for j in range(3):
tmp.append(False)
bool_array.append(tmp)
num = int(input().rstrip())
for i in range(num):
input_line = input().rstrip()
for j in ran... | [
"assignment.add"
] | 548,554 | 548,555 | u295797489 | python |
p02760 | import numpy as np
card = np.array([list(map(int, input().split())) for _ in range(3)], dtype=np.int64)
n = int(input())
for _ in range(n):
num = int(input())
card[card == num] = 0
card = card == 0
def check_vertical(card):
return np.all(card, axis=0).sum() == 3
def check_horizon(card):
return np.... | import numpy as np
card = np.array([list(map(int, input().split())) for _ in range(3)], dtype=np.int64)
n = int(input())
for _ in range(n):
num = int(input())
card[card == num] = 0
card = card == 0
def check_vertical(card):
return np.all(card, axis=0).sum() >= 1
def check_horizon(card):
return np.... | [] | 548,560 | 548,561 | u380524497 | python |
p02760 | SIZE = 3
A = [[int(i) for i in input().split()] for j in range(SIZE)]
N = int(input())
B = [int(input()) for j in range(N)]
def rotate_counterclockwise(matrix):
"""2次元リストを反時計回りに回転"""
return list(map(list, zip(*matrix)))[::-1]
for b in B:
for row in range(SIZE):
for col in range(SIZE):
... | SIZE = 3
A = [[int(i) for i in input().split()] for j in range(SIZE)]
N = int(input())
B = [int(input()) for j in range(N)]
def rotate_counterclockwise(matrix):
"""2次元リストを反時計回りに回転"""
return list(map(list, zip(*matrix)))[::-1]
for b in B:
for row in range(SIZE):
for col in range(SIZE):
... | [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 548,574 | 548,575 | u952708174 | python |
p02760 | from collections import defaultdict
def a():
A = []
A += list(map(int,input().split()))
A += list(map(int,input().split()))
A += list(map(int,input().split()))
N = int(input())
d = defaultdict(int)
for _ in range(N):
d[int(input())] = 1
B = list(map(lambda x:d[x],A))
if B[4... | from collections import defaultdict
def a():
A = []
A += list(map(int,input().split()))
A += list(map(int,input().split()))
A += list(map(int,input().split()))
N = int(input())
d = defaultdict(int)
for _ in range(N):
d[int(input())] = 1
B = list(map(lambda x:d[x],A))
if B[4... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,588 | 548,589 | u278886389 | python |
p02760 | from collections import defaultdict
def a():
A = []
A += list(map(int,input().split()))
A += list(map(int,input().split()))
A += list(map(int,input().split()))
N = int(input())
d = defaultdict(int)
for _ in range(N):
d[int(input())] = 1
B = list(map(lambda x:d[x],A))
if B[5... | from collections import defaultdict
def a():
A = []
A += list(map(int,input().split()))
A += list(map(int,input().split()))
A += list(map(int,input().split()))
N = int(input())
d = defaultdict(int)
for _ in range(N):
d[int(input())] = 1
B = list(map(lambda x:d[x],A))
if B[4... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,590 | 548,589 | u278886389 | python |
p02760 | a=[list(map(int,input().split())) for _ in range(3)]
n=int(input())
b=[int(input()) for _ in range(n)]
atari=[]
for i in range(3):
atari.append([a[i][0],a[i][1],a[i][2]])
for i in range(3):
atari.append([a[0][i],a[0][i],a[0][i]])
atari.append([a[0][0],a[1][1],a[2][2]])
atari.append([a[0][2],a[1][1],a[2][0]])
fo... | a=[list(map(int,input().split())) for _ in range(3)]
n=int(input())
b=[int(input()) for _ in range(n)]
atari=[]
for i in range(3):
atari.append([a[i][0],a[i][1],a[i][2]])
for i in range(3):
atari.append([a[0][i],a[1][i],a[2][i]])
atari.append([a[0][0],a[1][1],a[2][2]])
atari.append([a[0][2],a[1][1],a[2][0... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"call.arguments.change"
] | 548,593 | 548,594 | u943057856 | python |
p02760 | li_a = list(map(int,input().split()))
li_b = list(map(int,input().split()))
li_c = list(map(int,input().split()))
n = int(input())
li_num=[int(input()) for i in range(n)]
li_card = [li_a, li_b, li_c]
ans = False
#print(li_card)
#print(li_b)
#print(li_c)
#print(n)
#print(li_num)
for m in li_num:
for i in ran... | li_a = list(map(int,input().split()))
li_b = list(map(int,input().split()))
li_c = list(map(int,input().split()))
n = int(input())
li_num=[int(input()) for i in range(n)]
li_card = [li_a, li_b, li_c]
ans = False
#print(li_card)
#print(li_b)
#print(li_c)
#print(n)
#print(li_num)
for m in li_num:
for i in ran... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 548,599 | 548,600 | u325183470 | python |
p02760 | li_a = list(map(int,input().split()))
li_b = list(map(int,input().split()))
li_c = list(map(int,input().split()))
n = int(input())
li_num=[int(input()) for i in range(n)]
li_card = [li_a, li_b, li_c]
ans = False
#print(li_card)
#print(li_b)
#print(li_c)
#print(n)
#print(li_num)
for m in li_num:
for i in range(3... | li_a = list(map(int,input().split()))
li_b = list(map(int,input().split()))
li_c = list(map(int,input().split()))
n = int(input())
li_num=[int(input()) for i in range(n)]
li_card = [li_a, li_b, li_c]
ans = False
#print(li_card)
#print(li_b)
#print(li_c)
#print(n)
#print(li_num)
for m in li_num:
for i in ran... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 548,601 | 548,600 | u325183470 | python |
p02760 | li_a = list(map(int,input().split()))
li_b = list(map(int,input().split()))
li_c = list(map(int,input().split()))
n = int(input())
li_num=[int(input()) for i in range(n)]
li_card = [li_a, li_b, li_c]
ans = False
#print(li_card)
#print(li_b)
#print(li_c)
#print(n)
#print(li_num)
for m in li_num:
for i in ran... | li_a = list(map(int,input().split()))
li_b = list(map(int,input().split()))
li_c = list(map(int,input().split()))
n = int(input())
li_num=[int(input()) for i in range(n)]
li_card = [li_a, li_b, li_c]
ans = False
#print(li_card)
#print(li_b)
#print(li_c)
#print(n)
#print(li_num)
for m in li_num:
for i in ran... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 548,602 | 548,603 | u325183470 | python |
p02760 | #Input
l_A = [[0 for i in range(3)] for j in range(3)]
l_A[0] = list(map(int, input().split()))
l_A[1] = list(map(int, input().split()))
l_A[2] = list(map(int, input().split()))
def detect_BINGO(l_Atf):
#横
for i in range(3):
f_detect = True
for j in range(3):
f_detect = f_detect an... | #Input
l_A = [[0 for i in range(3)] for j in range(3)]
l_A[0] = list(map(int, input().split()))
l_A[1] = list(map(int, input().split()))
l_A[2] = list(map(int, input().split()))
def detect_BINGO(l_Atf):
#print(l_Atf)
#横
for i in range(3):
f_detect = True
for j in range(3):
#pri... | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 548,608 | 548,607 | u123282507 | python |
p02760 | #Input
l_A = [[0 for i in range(3)] for j in range(3)]
l_A[0] = list(map(int, input().split()))
l_A[1] = list(map(int, input().split()))
l_A[2] = list(map(int, input().split()))
def detect_BINGO(l_Atf):
#print(l_Atf)
#横
for i in range(3):
f_detect = True
for j in range(3):
#pri... | #Input
l_A = [[0 for i in range(3)] for j in range(3)]
l_A[0] = list(map(int, input().split()))
l_A[1] = list(map(int, input().split()))
l_A[2] = list(map(int, input().split()))
def detect_BINGO(l_Atf):
#print(l_Atf)
#横
for i in range(3):
f_detect = True
for j in range(3):
#pri... | [
"function.return_value.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 548,609 | 548,607 | u123282507 | python |
p02760 | X = [[0 for i in range(3)] for j in range(3)]
for x in range(3):
Y = list(map(int,input().split()))
# print(Y)
#print(Y[0])
for y in range(3):
X[x][y] = Y[y]
# print(x,y,X[x][y],Y[y])
print(X)
N = int(input())
B = []
for x in range(N):
B.append(int(input()))
#print(X)
#print(B)
for x... | X = [[0 for i in range(3)] for j in range(3)]
for x in range(3):
Y = list(map(int,input().split()))
# print(Y)
#print(Y[0])
for y in range(3):
X[x][y] = Y[y]
# print(x,y,X[x][y],Y[y])
#print(X)
N = int(input())
B = []
for x in range(N):
B.append(int(input()))
#print(X)
#print(B)
for ... | [
"call.remove"
] | 548,612 | 548,613 | u349888092 | python |
p02760 | A_list1 = list(map(int, input().split()))
A_list2 = list(map(int, input().split()))
A_list3 = list(map(int, input().split()))
N = int(input())
B_list = []
for i in range(N):
B_list.append(int(input()))
A_list1_c = []
A_list2_c = []
A_list3_c = []
for i in B_list:
if i in A_list1:
A_list1_c.append(A_lis... | A_list1 = list(map(int, input().split()))
A_list2 = list(map(int, input().split()))
A_list3 = list(map(int, input().split()))
N = int(input())
B_list = []
for i in range(N):
B_list.append(int(input()))
A_list1_c = []
A_list2_c = []
A_list3_c = []
for i in B_list:
if i in A_list1:
A_list1_c.append(A_lis... | [
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change"
] | 548,614 | 548,615 | u315354220 | python |
p02760 | import sys
input = sys.stdin.readline
A = []
b = []
B = [[0, 0, 0] for _ in range(3)]
for _ in range(3):
A.append(list(map(int, input().split())))
N = int(input())
for _ in range(N):
b.append(int(input()))
for value in b:
for i in range(3):
for j in range(3):
if A[i][j] == value:
... | import sys
input = sys.stdin.readline
A = []
b = []
B = [[0, 0, 0] for _ in range(3)]
for _ in range(3):
A.append(list(map(int, input().split())))
N = int(input())
for _ in range(N):
b.append(int(input()))
for value in b:
for i in range(3):
for j in range(3):
if A[i][j] == value:
... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,624 | 548,625 | u047023156 | python |
p02760 | import sys
input = sys.stdin.readline
A = []
b = []
B = [[0, 0, 0] for _ in range(3)]
for _ in range(3):
A.append(list(map(int, input().split())))
N = int(input())
for _ in range(N):
b.append(int(input()))
for value in b:
for i in range(3):
for j in range(3):
if A[i][j] == value:
... | import sys
input = sys.stdin.readline
A = []
b = []
B = [[0, 0, 0] for _ in range(3)]
for _ in range(3):
A.append(list(map(int, input().split())))
N = int(input())
for _ in range(N):
b.append(int(input()))
for value in b:
for i in range(3):
for j in range(3):
if A[i][j] == value:
... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"call.remove"
] | 548,626 | 548,625 | u047023156 | python |
p02760 | import numpy as np
xy = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
num = [list(map(int, input().split())) for _ in range(n)]
result = [[0,0,0],[0,0,0],[0,0,0]]
def input_b(xy:list, num:int, result:list):
for i in range(3):
if num in xy[i]:
for j in range(3):
... | import numpy as np
xy = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
num = [list(map(int, input().split())) for _ in range(n)]
result = [[0,0,0],[0,0,0],[0,0,0]]
def input_b(xy:list, num:int, result:list):
for i in range(3):
if num in xy[i]:
for j in range(3):
... | [
"literal.string.change",
"literal.string.case.change",
"function.return_value.change"
] | 548,641 | 548,642 | u813993459 | python |
p02760 | import numpy as np
xy = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
num = [list(map(int, input().split())) for _ in range(n)]
result = [[0,0,0],[0,0,0],[0,0,0]]
def input_b(xy:list, num:int, result:list):
for i in range(3):
if num in xy[i]:
for j in range(3):
... | import numpy as np
xy = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
num = [list(map(int, input().split())) for _ in range(n)]
result = [[0,0,0],[0,0,0],[0,0,0]]
def input_b(xy:list, num:int, result:list):
for i in range(3):
if num in xy[i]:
for j in range(3):
... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"function.return_value.change",
"identifier.change",
"assignment.value.change",
"call.arguments.change"
] | 548,643 | 548,642 | u813993459 | python |
p02760 | import numpy as np
xy = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
num = [list(map(int, input().split())) for _ in range(n)]
result = [[0,0,0],[0,0,0],[0,0,0]]
def input_b(xy:list, num:int, result:list):
for i in range(3):
if num in xy[i]:
for j in range(3):
... | import numpy as np
xy = [list(map(int, input().split())) for _ in range(3)]
n = int(input())
num = [list(map(int, input().split())) for _ in range(n)]
result = [[0,0,0],[0,0,0],[0,0,0]]
def input_b(xy:list, num:int, result:list):
for i in range(3):
if num in xy[i]:
for j in range(3):
... | [
"identifier.replace.add",
"literal.replace.remove",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change",
"literal.number.integer.change",
"literal.string.change",
"literal.string.case.change",
"function.return_value.change",
"identifier.change",
"assignment.value.ch... | 548,644 | 548,642 | u813993459 | python |
p02760 |
# S, T = input().split()
# A, B = map(int, input().split())
# U = input()
# if S == U: A -= 1
# else: B -= 1
# print(A, B)
def main():
A1 =list(map(int,input().split()))
A2 =list(map(int,input().split()))
A3 =list(map(int,input().split()))
N = int(input())
B =[]
for i in range(N):
... |
# S, T = input().split()
# A, B = map(int, input().split())
# U = input()
# if S == U: A -= 1
# else: B -= 1
# print(A, B)
def main():
A1 =list(map(int,input().split()))
A2 =list(map(int,input().split()))
A3 =list(map(int,input().split()))
N = int(input())
B =[]
for i in range(N):
... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,645 | 548,646 | u307418002 | python |
p02760 | def checkbingo(map_):
for i in range(3):
if map_[i][0] * map_[i][1] * map_[i][2] == 1:
return True
if map_[0][i] * map_[0][i] * map_[0][i] == 1:
return True
if map_[0][0] * map_[1][1] * map_[2][2] == 1:
return True
if map_[0][2] * map_[1][1] * map_[2][0] == 1:
return True
return Fals... | def checkbingo(map_):
for i in range(3):
if map_[i][0] * map_[i][1] * map_[i][2] == 1:
return True
if map_[0][i] * map_[1][i] * map_[2][i] == 1:
return True
if map_[0][0] * map_[1][1] * map_[2][2] == 1:
return True
if map_[0][2] * map_[1][1] * map_[2][0] == 1:
return True
return Fals... | [
"literal.number.integer.change",
"variable_access.subscript.index.change",
"control_flow.branch.if.condition.change"
] | 548,650 | 548,651 | u290886932 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.