insoosos   2년 전

    제출번호: 83326870, 83326881

input

3
2 3
2
1 2
2 3

output

3

ans

1


제출번호: 83326870 정답처리 되었습니다.

댓글을 작성하려면 로그인해야 합니다.