Skip to content

Baekjoon 10569

1. Problem

문제 확인하기

2. Solution (Python, memory: 31256KB, time: 40ms)

for _ in range(int(input())): vertices, edges = map(int, input().split()); print(edges-vertices+2)