Submission #1135369

#TimeUsernameProblemLanguageResultExecution timeMemory
1135369NonbangkokConnecting Supertrees (IOI20_supertrees)C++20
0 / 100
1 ms328 KiB
#include <bits/stdc++.h> #include "supertrees.h" #define forr(i, a, n) for (int i = a; i < n; i++) #define endll "\n" #define sp " " using namespace std; typedef long long ll; int construct(vector<vector<int>> p) { int n = p.size(); vector<vector<int>> b; for (int i = 0; i < n; i++) { vector<int> row; row.resize(n); b.push_back(row); } forr(i,0,n-1)b[i][i+1] = 1; build(b); 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...