Submission #963780

#TimeUsernameProblemLanguageResultExecution timeMemory
963780SuPythonyConnecting Supertrees (IOI20_supertrees)C++17
11 / 100
158 ms24156 KiB
#include "supertrees.h" #include <bits/stdc++.h> using namespace std; int construct(vector<vector<int>> p) { int n = p.size(); vector<vector<int>> ans(n,vector<int>(n,0)); for (int i=0; i<n; i++) { if (i<n-1) { ans[i][i+1]=1; ans[i+1][i]=1; } } build(ans); 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...