Submission #548677

#TimeUsernameProblemLanguageResultExecution timeMemory
548677Clan328Connecting Supertrees (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...