// // main.cpp // boj11725 // // Created by 김병수 on 2020/09/18. // Copyright 2020 coconut. All rights reserved. // #include #include #include #define MAX 100001 using namespace std; int parent[MAX]; bool visited[MAX]; int main(int argc, const char * argv[]) { ios::sync_with_stdio(false); int N; vector
#
11725
#
백준
원문 링크 : [백준 11725] 트리의 부모 찾기 (Tree, BFS)