It should also work on almost any other computer system, including Mac. The test runner works for any non-interactive code that reads from a standard input stream, and writes the result to the ...
line = input() # represents a line in the grid and contains W integers. Each integer represents one room of a given type. grid += [line.split(" ")] ex = int(input ...