diff options
Diffstat (limited to '4.py')
-rw-r--r-- | 4.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -26,10 +26,7 @@ first: Win = Win(None, max(nums)) last: Win = Win(None, 0) for i, board in enumerate(boards): row: int = min(max(row) for row in board) - col: int = min( - max(board[y][x] for y in range(len(board))) - for x in range(len(board[0])) - ) + col: int = min(max(col) for col in zip(*board)) win: Win = Win(i, min(row, col)) if win.round < first.round: first = win if win.round > last.round: last = win |