PAT(Advanced Level) Practice(with python)——1013 Battle Over Cities(最后一个样例无能为了,输入太多了python真救不了)
CodeN,M,K=map(int,input().split())#连通子图数量mapper=[[]foriinrange(N+1)]forminrange(M):a,b=map(int,input().split())mapper[a].append(b)mapper[b].append(a)query=list(map(int,input().split()))#print(query)de