while True: try: m, n = map(int, input().split()) ## 1 初始化表格是否成功,若成功则返回0, 否则返回-1 if max(m, n) <= 9 and min(m, n) >= 0: print(0) else: print(-1) ## 2 输出交换单元格是否成功 x1, y1, x2, y2 = map(int, input().split()) if max...