제출 #548677

#제출 시각아이디문제언어결과실행 시간메모리
548677Clan328슈퍼트리 잇기 (IOI20_supertrees)C++17
11 / 100
176 ms23936 KiB
#include "supertrees.h" #include <vector> #include <bits/stdc++.h> using namespace std; int construct(vector<vector<int>> p) { int n = p.size(); vector<vector<int>> answer(n, vector<int>(n)); for (int i = 1; i < n; i++) answer[0][i] = 1; for (int i = 1; i < n; i++) { answer[i][0] = 1; } build(answer); return 1; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...