Created
November 12, 2023 19:32
-
-
Save SigmaX/c11d6b93bb1ec419f26cf50ebc91e312 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/python3 | |
import os | |
def bomberMan(n, grid): | |
# TODO Write your code here | |
if __name__ == '__main__': | |
fptr = open(os.environ['OUTPUT_PATH'], 'w') | |
first_multiple_input = input().rstrip().split() | |
r = int(first_multiple_input[0]) | |
c = int(first_multiple_input[1]) | |
n = int(first_multiple_input[2]) | |
grid = [] | |
for _ in range(r): | |
grid_item = input() | |
grid.append(grid_item) | |
result = bomberMan(n, grid) | |
fptr.write('\n'.join(result)) | |
fptr.write('\n') | |
fptr.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment