Submission #610212

#TimeUsernameProblemLanguageResultExecution timeMemory
610212jairRSConnecting Supertrees (IOI20_supertrees)C++17
0 / 100
1 ms340 KiB
#include "supertrees.h" #include <bits/stdc++.h> using namespace std; using vi = vector<int>; using vvi = vector<vi>; int construct(std::vector<std::vector<int>> p) { int n = p.size(); vvi answer; for (int i = 0; i + 1 < n; i++) { answer[i][i + 1] = 1; answer[i + 1][i] = 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...