Problem p03494 (python)

Fixed submission:
n = input()
num = []
num = input().split(" ")
 
t = 0 
a=0 
while True: 
  num2=[] 
  for i in num: 
    if not int(i)%2==0:
      a =1
      break
    num2.append(int(i)/2)
  num = num2
  if a==1: 
     print(t) 
     break
  t+=1

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")
 
t = 0 
a=0 
while True: 
  num2=[] 
  for i in num: 
    if not (int(i)%2): 
     a =1 
       break 
    num2.append(int(i)%2) 
  num = num2 
  t+=1 
  if a==1: 
     print(t) 
     break

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")
 
t = 0 
a=0 
while True: 
  num2=[] 
  for i in num: 
    if not (int(i)%2): 
    	a =1 
       break 
    num2.append(int(i)%2) 
  num = num2 
  t+=1 
  if a==1: 
     print(t) 
     break

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")
 
t = 0 
a=0 
while True: 
  num2=[] 
  for i in num: 
    if not (int(i)%2): 
    	a =1 
        break 
    num2.append(int(i)%2) 
  num = num2 
  t+=1 
  if a==1: 
     print(t) 
     break

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")
 
t = 0 
a=0 
while True: 
  num2=[] 
  for i in num: 
    if not (int(i)%2): 
    	a =1 
        break 
    num2.append(int(i)%2) 
    num = num2 
    t+=1 
    if a==1: 
       print(t) 
       break

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")

t = 0 
 a=0 
while True: 
  num2=[] 
  for i in num: 
    if not (int(i)%2): 
    	a =1 
        break 
    num2.append(int(i)%2) 
    num = num2 
    t+=1 
    if a==1: 
       print(t) 
       break

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")

t = 0 
 a=0 
  while True: 
    num2=[] 
    for i in num: 
      if not (int(i)%2): 
        a =1 
        break 
        num2.append(int(i)%2) 
        num = num2 
        t+=1 
        if a==1: 
          print(t) 
          break

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")

t = 0 
 a=0 
 while True: 
     num2=[] 
     for i in num: 
         if not (int(i)%2): 
             a =1 
             break 
         num2.append(int(i)%2) 
     num = num2 
     t+=1 
     if a==1: 
         print(t) 
        break

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")

t = 0 
    ...: a=0 
    ...: while True: 
    ...:     num2=[] 
    ...:     for i in num: 
    ...:         if not (int(i)%2): 
    ...:             a =1 
    ...:             break 
    ...:         num2.append(int(i)%2) 
    ...:     num = num2 
    ...:     t+=1 
    ...:     if a==1: 
    ...:         print(t) 
    ...:         break

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")

t = 0
while True:
  num2 = []
  for i in num:
    if i%2 !=0:
      break
    num2.append(i/2)
   t+=1
   num = num2
prtin(t)

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = input().split(" ")

t = 0
while true:
  num2 = []
  for i in num:
    if i%2 !=0:
      break
    num2.append(i/2)
   t+=1
   num = num2
prtin(t)

Buggy submission (verdict: Runtime Error):
n = input()
num = []
num = " ".split(input())

t = 0
while true:
  num2 = []
  for i in num:
    if i%2 !=0:
      break
    num2.append(i/2)
   t+=1
   num = num2
prtin(t)