Problem p03494 (python)

Fixed submission:
input_list_len = int(input())
input_list = map(int, input().split())
even_list = input_list
even_list_len = input_list_len
count = 0

while True:
    even_list = list(filter(lambda num: num % 2 == 0, even_list))
    even_list_len = len(even_list)
    if input_list_len != even_list_len:
        break
    even_list = map(lambda num: num / 2, even_list)
    count += 1

print(count)

Buggy submission (verdict: Runtime Error):
list_len = int(input())
input_list = map(int, input().split())
even_list = input_list
even_list_len = list_len
count = 0
 
while:
  even_list = filter(lambda num: num % 2, input_list)
  even_list_len = len(even_list)
  if list_len != even_list_len:
    break
  even_list = map(lambda num: num / 2, even_list)
  count += 1
    
print(count)

Buggy submission (verdict: Runtime Error):
input_list = map(int, input().split())
even_list = input_list
even_list_len = list_len
count = 0
 
while:
  even_list = filter(lambda num: num % 2 , input_list)
  even_list_len = len(even_list)
  if list_len != even_list_len:
    break
  even_list = map(lambda num: num / 2, even_list)
  count += 1
    
print(count)

Buggy submission (verdict: Runtime Error):

input_list = map(int, input().split())
even_list_len = list_len
count = 0
 
while:
  even_list = filter(lambda num: num % 2 , input_list)
  even_list_len = len(even_list)
  if list_len != even_list_len:
    break
  even_list = map(lambda num: num / 2, even_list)
  count += 1
    
print(count)

Buggy submission (verdict: Runtime Error):
list_len = int(input())
input_list = map(int, input().split())
even_list_len = list_len
count = 0
 
while:
  even_list = filter(lambda num: num % 2 , input_list)
  even_list_len = len(even_list)
  if list_len != even_list_len:
    break
  count += 1
    
print(count)

Buggy submission (verdict: Runtime Error):
list_len = int(input())
input_list = map(int, input().split)
even_list_len = list_len
count = 0
 
while:
  even_list = filter(lambda num: num % 2 , input_list)
  even_list_len = len(even_list)
  if list_len != even_list_len:
    break
  count += 1
    
print(count)

Buggy submission (verdict: Runtime Error):
list_len = int(input())
input_list = map(int, input().split)
even_list_len = list_len
count = 0
 
while:
	even_list = filter(lambda num: num % 2 , input_list)
    even_list_len = len(even_list)
	if list_len != even_list_len:
      break
    count += 1
    
print(count)

Buggy submission (verdict: Runtime Error):
list_len = int(input())
input_list = map(int, input().split)
even_list_len = list_len
count = 0
 
while:
	even_list = filter(lambda num: num & 2 , input_list)
    even_list_len = len(even_list)
	if list_len != even_list_len:
      break
    count += 1
    
print(count)

Buggy submission (verdict: Runtime Error):
list_len = int(input())
input_list = map(int, input().split)
even_list_len = list_len
count = 0
 
while:
	even_list = filter(lambda num: num & 2 , input_list)
	if list_len != even_list_len:
      break
    count += 1
    
print(count)

Buggy submission (verdict: Runtime Error):
list_len = int(input())
input_list = map(int, input().split)
even_list_len = list_len
count = 0

while:
	even_list = filter(lambda num: num & 2 , input_list)
	if list_len != even_list_len:
      break
     count += 1
    
print(count)