TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
num = int(input().split())
for i in range(6):
  if num[i] == 0:
    print(int(str(i)))

num = list(input().split())
for i in range(5):
  if num[i] == "0":
    print(int(str(i + 1)))


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x, y = map(int, input().split())

ans = "No"

for a in range(x + 1):
  b = x - a
  if (2 * a + 4 * b ) == y:
    ans = "Yes"
    break

print (ans)

x, y = map(int, input().split())

a = y / 2
b = 0
while (a + b) != x:
  a -= 2
  b += 1
  if a < 0: break

s = 2 * a + 4 * b
if s == y and a >= 0:
  print("Yes")
else:
  print("No")

X = [int(i) for i in input().split()]

for i in range(len(X)):
  if X[i] == 0:
    print (i)

X = [int(i) for i in input().split()]

for i in range(len(X)):
  if X[i] == 0:
    print (i+1)

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int, input().split()))

print(x)
for i in range(len(x)):
    if(x[i] == 0):
        print(i+1)
        exit()


x = list(map(int, input().split()))

for i in range(len(x)):
    if(x[i] == 0):
        print(i+1)
        exit()

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a,b,c,d,e=int(input(),split())
if(a==0):
  print(1)
elif(b==0):
  print(2)
elif(c==0):
  print(3)
elif(d==0):
  print(4)
else:
  print(5)

a,b,c,d,e=list(map(int,input().split()))
if(a==0):
  print(1)
elif(b==0):
  print(2)
elif(c==0):
  print(3)
elif(d==0):
  print(4)
else:
  print(5)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
n = input().split() 
print(min(n))

print(15 - sum(list(map(int, input().split()))))

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import numpy as np

X,N = map(int,input().split())

p_list = [int(n) for n in input().split()]

X_near = np.array(list(range(int(np.ceil(X - N/2)), int(np.floor(X + N/2)) + 1)))

remain_list = []

for i in X_near:
    if i not in p_list:
        remain_list.append(i)
        
remain_array = np.array(remain_list)
min_bool = np.abs(X - remain_array).min() == np.abs(X - remain_array)
print(remain_array[min_bool].min())

n_list = input().split()

print(n_list.index('0') + 1)


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
#import numpy as np

N = int(input())
A = list(map(int, input().split()))
A.sort()

kouho = sorted([x for x in set(A) if A.count(x) == 1])
#maxA = 10**5


maxA = A[-1]
work=[0]*(A[-1]+1)

for i in range(len(A)):
    maxN = int(maxA/A[i])
    for n in range(1,maxN+1):
        buf = A[i]*n
        
        work[buf]+=1
            #print(A[i]*n)



sm=0
for s in A:
    if work[s]==1: sm+=1
print(sm)



#import numpy as np

N = int(input())
A = list(map(int, input().split()))




#K = int(input())
#S = input()


#a=[0]*5



#A = list(set(A))
A = sorted(A)

kouho = [x for x in set(A) if A.count(x) == 1]
target = list(kouho.copy())
            
for i in range(len(A)):
    if target == []:
        break
    maxN = int(max(target)/A[i])
    for n in range(2,maxN+1):
        if A[i]*n in kouho:
            kouho.remove(A[i]*n)
            #print(A[i]*n)
target = list(kouho.copy())
        
print(len(target))

X = list(map(int, input().split()))




#K = int(input())
#S = input()


#a=[0]*5




for i in range(len(X)):
    if X[i] == 0:
        break
    

print(i+1)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
list = list(map(int,input().split()))
for i in list:
  if i == 0:
    print(i)

list = list(map(int,input().split()))
i=0
while i<5:
  
  if list[i] == 0:
    print(i+1)
  i += 1

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
X=list(map(int,input().split()))
for x in enumerate(X):
    if x[1]==0:
        print(x[0])
        break

X=list(map(int,input().split()))
for x in enumerate(X):
    if x[1]==0:
        print(x[0]+1)
        break

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import io,sys
sys.setrecursionlimit(10**6)


def main():
    X,Y = map(int,sys.stdin.readline().rstrip().split())

    y = (Y-2*X)/2
    x = X-y

    if y>=0 and y == int(y) and x >= 0:
        print("Yes")
    else:
        print("No")
main()

import io,sys
sys.setrecursionlimit(10**6)


def main():
    X = list(map(int,sys.stdin.readline().rstrip().split()))
    g = set([0,1,2,3,4,5])

    a = list(g - set(X))
    print(a[0])
main()

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
v_list = [int(i) for i in input().split()]
for i in len(v_list):
  if v_list[i] == 0:
    print(i+1)
  


v_list = list(map(int,input().split()))
for i in range(len(v_list)):
  if v_list[i] == 0:
    print(i+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
'''
In the name of God
'''

a,b,c,d,e = map(int, input().split())

for i in range(1, 6):
    if a == 0:
        print(1)
    elif b == 0:
        print(2)
    elif c == 0:
        print(3)
    elif d == 0:
        print(4)
    elif e == 0:
        print(5)

a,b,c,d,e = map(int, input().split())


if a == 0:
        print(1)
    elif b == 0:
        print(2)
    elif c == 0:
        print(3)
    elif d == 0:
        print(4)
    else:
        print(5)

#                               #
    # author : samars_diary #
    
#                               #

import sys, os.path

#if(os.path.exists('input.txt')):
    
    #sys.stdout = open('output.txt',"w")

sys.setrecursionlimit(10 ** 5)

def mod(): return 10**9+7
def i(): return sys.stdin.readline().strip()
def ii(): return int(sys.stdin.readline())
def li(): return list(sys.stdin.readline().strip())
def mii(): return map(int, sys.stdin.readline().split())
def lii(): return list(map(int, sys.stdin.readline().strip().split()))

#print=sys.stdout.write

def solve():
    a=lii()
    print(1+a.index(0))

for _ in range(1):
    solve()

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
l = list(map(int, input().split()))
for i in range(5):
    if l[i] == 0:
        print(i)


l = list(map(int, input().split()))
for i in range(5):
    if l[i] == 0:
        print(i + 1)


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x1, x2, x3, x4, x5 = input().split()

if x1 == 0:
    print(1)
elif x2 == 0:
    print(2)
elif x3 == 0:
    print(3)
elif x4 == 0:
    print(4)
else:
    print(5)


x1, x2, x3, x4, x5 = input().split()

if int(x1) == 0:
    print(1)
elif int(x2) == 0:
    print(2)
elif int(x3) == 0:
    print(3)
elif int(x4) == 0:
    print(4)
else:
    print(5)


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):



huga = list(map(int, input().split()))

for i in range(5):
    if huga[i] == 0:
        print(huga[i])




huga = list(map(int, input().split()))

for i in range(len(huga)):
    if huga[i] == 0:
        print(huga[i])




huga = list(map(int, input().split()))

for i in range(len[huga]):
    if huga[i] == 0:
        print(huga[i])




huga = list(map(int, input().split()))

if huga[0] == 0:
    print(1)
if huga[1] == 0:
    print(2)
if huga[2] == 0:
    print(3)
if huga[3] == 0:
    print(4)
if huga[4] == 0:
    print(5)


Verdicts: Wrong Answer

Wrong Answer

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = int(input())
x = list(x)

for idx in range(len(x)):
  if x[idx] == 0:
    print(idx + 1)
    break

x = int(input())

x = tuple(x)

for idx in range(5):
  if x[idx] == 0:
    print(idx + 1)
    break

x = map(int, input().replace(' ',''))
x = list(x)

for idx in range(len(x)):
  if x[idx] == 0:
    print(idx + 1)
    break

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x=list(map(int,input().split()))

i=1
while i<=len(x):
    
    if x[i]==0:
        print(i)
    
    i+=1

x=list(map(int,input().split()))

i=1
while i<=len(x):
    
    if x[i-1]==0:
        print(i)
    
    i+=1

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a,b,c=input().split()
print("{} {} {}".format(c,a,b))

array = list(map(int, input().split()))
print(array.index(0)+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
# A
x = list(map(int, input().split()))
ans = 0
for i in range(5):
    if x[i] == i + 1:
        ans = i + 1
print(ans)


# A
x = list(map(int, input().split()))
ans = 0
for i in range(5):
    if x[i] != i + 1:
        ans = i + 1
print(ans)


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
li = [int(i) for i in input().split()]
for i in range(5):
	if li[i] == 0:
    		print(i+1)
            exit()

#template
def inputlist(): return [int(j) for j in input().split()]
#template
li = inputlist()
for i in range(5):
    if li[i] == 0:
        print(i+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = list(map(int, input().split()))
print(18 - sum(a))

a = list(map(int, input().split()))
print(15 - sum(a))

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
#!/usr/bin/env python3

X, Y = map(int, input().split())

# a + b = X
# 2a + 4b = Y
# --
# b = (Y-2X) / 2

b = (Y - 2 * X) / 2.0
a = X - b

if a.is_integer() and b.is_integer() and a >= 0 and b >= 0:
    print("Yes")
else:
    print("No")


#!/usr/bin/env python3

a = list(map(int, input().split()))
print(a.index(0) + 1)


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
def function(ar):
  print((ar.index(0))+1)

if __name__==__"main"__:
  ar=list(map(int, input().rstrip().split()))
  function(ar)

def function(ar):
    print(ar.index(0)+1)

if __name__ == '__main__':
    ar = list(map(int, input().rstrip().split()))
    function(ar)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int,input().split()))
for i in range(5):
  if x[i] == 0:
    print(i)
    exit()

x = list(map(int,input().split()))
for i in range(5):
  if x[i] == 0:
    print(i+1)
    exit()


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
num = input().split()
for i in range(0,len(num)):
  if num[i] == 0:
    print(i+1)
  

num = input().split()
for i in range(0,len(num)):
  if int(num[i]) == 0:
    print(i+1)
  


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x=input()
for i in range(0,5):
    i=i+1
    if x[i]=="0":
        int(i)
        print(i+1)


x=input()
if x[0]==0:
    print(1)
elif x[1]==0:
    print(2)
elif x[2]==0:
    print(3)
elif x[3]==0:
    print(4)
else:
    print(5)

x=input()
for i in range(0,5):
    if x[i]==0:
        int(i)
        i=i+1
        print(i)
        break


x=list(map(int,input()))
if x[0]==0:
    print(1)
elif x[1]==0:
    print(2)
elif x[2]==0:
    print(3)
elif x[3]==0:
    print(4)
else:
    print(5)


x=input()
for i in range(0,5):
    if x[i]==0:
        print(i)
        break

x=list(map(int,input().split()))
if x[0]==0:
    print(1)
elif x[1]==0:
    print(2)
elif x[2]==0:
    print(3)
elif x[3]==0:
    print(4)
else:
    print(5)


Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

Runtime Error

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x,n =map(int,input().split())
 
if  n==0:
    print(x)
else:
    P =list(map(int,input().split()))
    for i in range(100):
        if  (x-i) not in P:
            print(x-i)
            break
        elif (x+i) not in P:
            print(x+i)
            break

x = list(map(int, input().split()))
print(x.index(0) + 1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
X = list(map(int, input(),split())
         
for i in X:
	if i == 0:
         print(i+1)

X = input().split()
         
for i,num in enumerate(X):
	if num == "0":
		print(int(i)+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x,n = map(int, input().split())
p = list(map(int, input().split()))
if n == 0:
  print(x)
elif n == 1:
  if x == p:
    print(x-1)
  else:
    print(x)
else:
  p.sort()
  m = float("inf")
  if x<p[0] or p[n-1]<x:
    print(x)
  else:
    for y in [y for y in range(p[0]-1,p[n-1]) if not y in p]:
      if abs(x-y)<m:
        m = abs(x-y)
        ans_y = y
  print(ans_y)

x,n = map(int, input().split())
p = list(map(int, input().split()))
if n == 0:
  print(x)
elif n == 1:
  if x == p:
    print(x-1)
  else:
    print(x)
else:
  p.sort()
  m = float("inf")
  if x<p[0] or p[n-1]<x:
    print(x)
  else:
    for y in [y for y in range(p[0]-1,p[n-1]) if not y in p]:
      if abs(x-y)<m:
        m = abs(x-y)
        ans_y = y
  print(ans_y)

a,b,c,d,e = map(int, input().split())
lis = [a,b,c,d,e]
for i,n in enumerate(lis):
  if n==0:
    print(i+1)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = list(map(int, input().split()))
print(a.index(0))

a = list(map(int, input().split()))
print(a.index(0) + 1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
F?++++-p

[p]sp?[zr0=p1<x]dsxx

import sys
import math
import itertools
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7

x1 = l()
for i in range(5):
    if i != x1[i]:
        print(i+1)


def 分割入力(): return input().split()
def 位置(a): return 配列.index(a)+1
配列化,高階,出力,数字化 = list,map,print,int





配列 = 配列化(高階(数字化,分割入力()))
出力(位置(0))















Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int,input().split()))
for i in x:
    if x==0:
        print(i+1)

x = list(map(int,input().split()))

for i in range(5):
    if x[i]==0:
        print(i+1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
li = list(map(int,input().split()))

for i in range(5):
    if li[i]==0:
        print(i)
        break

li = list(map(int,input().split()))

for i in range(5):
    if li[i]==0:
        print(i+1)
        break

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = list(map(int,input().split()))
for i in range(len(a)):
  if a[i] == 0:
    print(i)
    break

a = list(map(int,input().split()))
for i in range(len(a)):
  if a[i] == 0:
    print(i+1)
    break


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
A = Input()
A = A.split()

B = []
for x in A:
y = int(x)
B.append(y)

C = [1, 2, 3, 4, 5]
for x in range(len(B)):
if B[x]!=C[x]:
z = x +1
print(z)


A = Input()
A = A.split()

B = []
for x in A:
    y = int(x)
    B.append(y)

c = [1, 2, 3, 4, 5]
for x in range(len(B)):
    if B[x] != c[x]:
        z = x+1
        print(z)

A = input()
A = A.split()
B = []
for x in A:
    y = int(x)
    B.append(y)

c = [1, 2, 3, 4, 5]
for x in range(len(B)):
    if B[x] != c[x]:
        z = x+1
        print(z)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
lst = [int(i) for i in input().split()]
for i in range(lst):
  if lst[i] == 0:
    ans = i+1
print(ans)

lst = [int(i) for i in input().split()]
for i in range(lst):
    if lst[i] == 0:
        ans = i+1
print(ans)

lst = [int(i) for i in input().split()]
for i in range(len(lst)):
    if lst[i] == 0:
        ans = i+1
print(ans)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
user_input = input()
user_input = user_input.split()
for i in range(len(user_input)):
	if user_input[i] == '0':
    	print(i+1)

def solution():
    user_input = input()
    user_input = user_input.split()
    for i in range(len(user_input)):
        if user_input[i] == '0':
            print(i+1)
            



solution()


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
N = map(int. input().split())
for x, n in enumarate(N, 1):
  if n == 0:
    print(x)
    break

N = map(int, input().split())
for x, n in enumerate(N, 1):
  if n == 0:
    print(x)
    break

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
''''atcoder beginner contest-170'''

import math
from collections import defaultdict
def r():
    return int(input())
def rm():
    return map(int,input().split())
def rl():
    return list(map(int,input().split()))

'''A'''
a=rl()
for i in range(len(a)):
    if a[i]==0:
        print(i)
        break


''''atcoder beginner contest-170'''

import math
from collections import defaultdict
def r():
    return int(input())
def rm():
    return map(int,input().split())
def rl():
    return list(map(int,input().split()))

'''A'''
a=rl()
b=defaultdict(int)
for i in a:
    b[i]=1
for i in range(1,len(a)+1):
    if b[i]==0:
        print(i)
        break


Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int, input().split()))
for i,j in enumerate(x):
  if j == 0:
    print(i)
    break

x = list(map(int, input().split()))
for i,j in enumerate(x):
  if j == 0:
    print(i + 1)
    break

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
X, N = map(int, input().split())

if N==0:
  print(X)
  exit(0)
  
p = [int(i) for i in input().split()]

for i in range(X+1):
  for s in [-1,1]:
    a = X + i*s
    if a not in p:
      print(a)
      exit(0)
  

print(input().split().index('0')+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int, input().split()))

for i in range(5):
    if x[i] == 0:
        print(i)
        break

x = list(map(int, input().split()))

for i in range(5):
    if x[i] == 0:
        print(i + 1)
        break

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = [int(_) for _ in inpur().split()]
print(a.index(0)+1)

a = [int(_) for _ in input().split()]
print(a.index(0)+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import numpy as np
import sys
x,N = map(int, input().split())

P = list(map(int, input().split()))

abs_list = []

for p in P:
  abs_list.append(np.abs(x-p))
  
if len(abs_list) == 0:
  print(x)
  sys.exit()
   
abs_max = max(abs_list)
for i in range(100):
  if abs_list.count(i) == 0:
    print(x-i)
    sys.exit()
  elif abs_list.count(i) == 1 and x+i in P and i !=0:
    print(x-i)
    sys.exit()
  elif abs_list.count(i) == 1 and x-i in P and i != 0:
    print(x+i)
    sys.exit()

X = list(map(int, input().split()))

for i, x in enumerate(X):
  if x == 0:
    print(i+1)
  

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
def sunuke():
    x=list(map(int, input().split()))
    for i in range(0,len(x)):
        if x[i]==0:
            return i
print(sunuke())

def sunuke():
    x=list(map(int, input().split()))
    for i in range(0,len(x)):
        if x[i]==0:
            return i+1
print(sunuke())

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
for i in range(5):
  n = input()
  if n == 0:
    print(i + 1)

number = input()
number_list = number.split()
for n in number_list:
  if n == 0:
    print(number_list.index(n) + 1)

number = input()
for i, n in enumerate(number.split()):
  if n == "0":
    print(i + 1)
    break

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import java.io.*;
import java.util.*;

public class five {
	static class InputReader {
		BufferedReader reader;
		StringTokenizer tokenizer;

		public InputReader(InputStream stream) {
			reader = new BufferedReader(new InputStreamReader(stream));
			tokenizer = null;
		}

		public String next() {
			if (tokenizer == null || !tokenizer.hasMoreTokens())
				try {
					tokenizer = new StringTokenizer(reader.readLine());
				} catch (IOException e) {
					throw new RuntimeException(e);
				}
			return tokenizer.nextToken();
		}

		public long nextLong() {
			return Long.parseLong(next());
		}

		public int nextInt() {
			return Integer.parseInt(next());
		}

		public void close() throws IOException {
			reader.close();
		}
	}

	public static void main(String[] args) throws IOException {
		InputReader f = new InputReader(System.in);
		PrintWriter out = new PrintWriter(System.out);

		for (int i = 1; i <= 5; i++) {
			if (f.nextInt() == 0) {
				System.out.println(i);
				break;
			}
		}
		
		f.close();
		out.close();
	}
}

A = map(int, input().split())
for i in range(5):
	if (A[i] == 0):
		print(i+1)
        break


A = list(map(int, input().split()))

for i in range(5):
    if A[i] == 0:
        print(i + 1)
        break


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import itertools

def main():
    n = int(input())
    a = list(map(int,input().split()))
    b = set(a)
    ansAry = [0] * 10000000

    num = len(a) - len(b)

    count = 0

    a.sort()

    x =  list(itertools.combinations(a,2))
    # print (x)

    
    for i in range(len(x) // 3 * 2):
        if x[i][1] % x[i][0] == 0 and ansAry[x[i][1]] == 0 :
            count += 1
            ansAry[x[i][1]] = 1

    print(n - count - num)

if __name__ == "__main__":
    main()


def main():
    x = list(map(int,input().split()))
    ans = x.index(0)

    print(ans+1)


if __name__ == "__main__":
    main()


Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
A = list(map(int, input().split()))
print(A)

A = list(map(int, input().split()))
for i in range(len(A)):
  if A[i]==0:
    print(i+1)
  

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a, b, c, d, e = map(int, input().split())
ln = [a,b,c,d,e]
for i,j in enumerate(ln):
  if j == 0:
    print(i)
    break

l = list(map(int, input().split()))
for i,j in enumerate(l):
  if j == 0:
    print(i+1)
    break

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
n=list(map(int,input.split()))
for i in range(len(n)):
  if(n[i]==0):
    cout<<i+1
    break

n=list(map(int,input().split()))
for i in range(len(n)):
  if(n[i]==0):
    print(i+1)
    break

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
number = input().split(" ")
for i in number:
  if i == 0:
    print(number[i])
  else:
    pass

number = input().split(" ")

for i in number:
    if i == "0":
        print(number.index(i)+1)
    else:
        pass

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x,y=map(int,input().split())
for i in range(x+1):
    if 2*i+4*(x-i)==y:
        print("Yes")
print('No')

x,y=map(int,input().split())
for i in range(x+1):
    if 2*i+4*(x-i)==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')

n = list(map(int, input().split()))
result = 0
for i in range(len(n)):
  if n[i] == 0:
    print(i+1)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
l = list(map(int,input().split()))

cnt = 1
for i in range(len(l)):
    cnt += 1
    if l[i] == 0:
        break

print(cnt)

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")

l = list(map(int,input().split()))

cnt = 1
for i in range(len(l)):
    if l[i] == 0:
        break
    else:
        cnt += 1
        

print(cnt)

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a = input().split(" ")
m = len(a)
b = 0
while b < m :
    if a[b]=="0"
    print(b)
    b = b + 1

a = input().split(" ")
m = len(a)
b = 0
while b < m :
    if a[b] == "0":
        print(b + 1)
    b = b + 1

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x=list(map(int,input().split()))
print(x.index(0))

x=list(map(int,input().split()))
print(x.index(0)+1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
a=list(map(int,input().split())
print(a.index(0)+1)

a=list(map(int,input().split()))
print(str(a.index(0))+1)

a=list(map(int,input().split())
print(a.index(0)+1)

a=list(map(int,input().split()))
print(str(a.index(0))+1)

a=list(map(int,input().split()))
print(a.index(0)+1)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
N = int(input())
a = list(map(int,input().split()))
count = N
for i in range(N):
	for j in range(N):
		if a[i]%a[j] ==0 and i!= j:
			count = count -1
			break
print(count)

N = int(input())
a = list(map(int,input().split()))
count = 0
flag = 0
for i in range(N):
	for j in range(N):
		if a[i]%a[j] ==0 and i!= j:
			flag = 1
	if(flag == 0):
		count = count +1
	flag = 0
print(count)

x = list(map(int,input().split()))
print(x.index(0)+1)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
A = list(int, input().split())
print(A.index(0) + 1)

A = list(map(int,input().split()))
print (l.index(0)+1)

a = list(map(int,input().split()))
print (l.index(0)+1)


A = list(int, input().split())
print(A.index('0') + 1)

A = list(int, input().split())

for i in A:
  if 0 == A[i]:
    print(i + 1)
   

A = list(map(int, input().split()))

c = 0
for i in A:
    c += 1
    if i == 0:
        print(c)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import sys

x, n = map(int, input().split())
p = set(map(int, input().split()))

if n == 0:
    print(x)
    sys.exit()

i = 1
while i < 103:
    left = x - i
    right = x + i
    if left not in p:
        print(left)
        sys.exit()
    elif right not in p:
        print(right)
        sys.exit()
    i += 1


i = input().split()
print(i.index("0") + 1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
lst = list(map(int,input().split()))
for e in range(len(lst)):
    if lst[e] == 0;
        print(lst[e]+1)

lst = list(map(int, input().split()))
for e in range(len(lst)):
    if lst[e] == 0:
        print(e+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
import numpy as np

n = np.array(list(map(int, input().split())))

print(np.where(n == 0))

import numpy as np

n = np.array(list(map(int, input().split())))

val = np.where(n == 0)

print(val[0]+1)


import numpy as np

n = np.array(list(map(int, input().split())))

print(np.argmin(n)+1)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
lst = [int(s) for s in input().split()]
print(lst.index(0))

lst = [int(s) for s in input().split()]
print(str(lst.index(0)))

lst = [int(s) for s in input().split()]
print(lst.index(0) + 1)

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
X, Y = map(int, input().split())

for i in range(X+1):
    for j in range(X+1):
        if(i+j > X):
            continue

        if(Y == 4*i+2*j):
            print("Yes")
            exit()

print("No")


X, Y = map(int, input().split())

for i in range(X+1):
    for j in range(X+1):
        if(i+j > X):
            continue
        if(Y == 4*i+2*j):
            print("Yes")
            exit()
 
print("No")


x = list(map(int, input().split()))

for count, i in enumerate(x):
    if(i == 0):
        print(count+1)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
n = 5
Si = n(n+1)/2
lst = list(map(int,input().split()))
Sr = sum(lst)
print(Si-Sr)

n = 5
Si = n*(n+1)/2
lst = list(map(int,input().split()))
Sr = sum(lst)
print(int(Si-Sr))

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
ar=input().split()
    print(ar.index('0')+1)

ar=input().split()
print(ar.index('0')+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = input().split()

for i, a in enumerate(x):
    if(a == "0"):
        print(i)

x = input().split()

for i, a in enumerate(x):
    if(a == "0"):
        print(i+1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
A=list(map(int,input().split()))

for i in range(5):
    if A[i]==0:
        print(i)

A=list(map(int,input().split()))

for i in range(5):
    if A[i]==0:
        print(i+1)

Verdicts: Wrong Answer

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x = list(map(int,input().split()))
for i in range(len(x)):
	if x[i] == 0:
      print(i+1)

x = list(map(int,input().split()))
for i in range(len(x)):
  if x[i] == 0:
    print(i+1)

Verdicts: Runtime Error

Accepted
Problem: We have five variables x_1, x_2, x_3, x_4, and x_5.  The variable x_i was initially assigned a value of i.  Snuke chose one of these variables and assigned it 0.  You are given the values of the five variables after this assignment.  Find out which variable Snuke assigned 0.

Submission attempts (in order):
x_list = [input()]
for i in range(5):
  if x_list[i] == 0:
    print(i)

x_list = list(map(int, input().split()))
for i in range(5):
    if x_list[i] == 0:
        print(i + 1)

Verdicts: Runtime Error

Accepted