https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV5VwAr6APYDFAWu SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com import sys sys.stdin = open("swea_2105.txt", "r") T = int(input()) for tc in range(1, 1 + T): N = int(input()) matrix = [list(map(int,input().split())) for _ in range(N)] answer = -1 # [1,1], [1,2],[2,1], ~, [1,19], ~ ,[19,1..