n, m, x, y = list(map(int, input().split())) dp = [[0] * (m + 1) for _ in range(n + 1)] tag = [[True] * (m + 1) for _ in range(n + 1)] # 马可以攻击到的点的相对位置 knight_moves = [(0,0), (-2, -1), (-1, -2), (1, -2), (2, -1), (2, 1), (1, 2), (-1, 2), (-2, 1)] # 标记马控制的范围 for dx, dy in knight_mo...