6485
-
[SW Expert] 6485번_삼성시의버스노선Study/알고리즘 2020. 1. 30. 12:54
문제 링크 : https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWczm7QaACgDFAWn&categoryId=AWczm7QaACgDFAWn&categoryType=CODE SW Expert Academy SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요! swexpertacademy.com from collections import defaultdict for i in range(int(input())): ab = [] for _ in range(int(input())): ab.append(list(map(int,input().split()))) c = [] for _ in range(in..