Initial code is:
import sys import math # Auto-generated code below aims at helping you parse # the standard input according to the problem statement. # width: width of the firewall grid # height: height of the firewall grid width, height = [int(i) for i in input().split()] for i in range(height): map_row = input() # one line of the firewall grid # game loop while 1: # rounds: number of rounds left before the end of the game # bombs: number of bombs left rounds, bombs = [int(i) for i in input().split()] # Write an action using print # To debug: print("Debug messages...", file=sys.stderr) print("3 0")
If I start the first test:
Sortie console 1/2The dead are coming... ValueError: need more than 1 value to unpackat Answer.py. in <module> on line 172/2Timeout: the program did not provide 1 input lines in due time...
(sorry for my english, is not my native langage)