ただのメモ

他の人に見せても良い方のメモ

2022-01-06から1日間の記事一覧

Competitive Programing Typical 90 Problem day3

Day3. I want to go behind the outward form of inner meaning of each problem. Code is below. N = int(input()) graph = [[] for i in range(N)] #グラフを格納するもとを作る for i in range(N-1): a,b = map(int,input().split()) graph[a-1].append(b…