# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1162104 | just | Connecting Supertrees (IOI20_supertrees) | C++20 | 0 ms | 0 KiB |
#include "bits/stdc++.h"
using namespace std;
#define vec vector
#ifndef EVAL
void build(vec<vec<int>> b) {}
#endif
int construct(vec<vec<int>> p) {
int n = p.size();
vec<vec<int>> b(n, vec<int>(n, 0));
for (int i = 0; i < n - 1; i++) {
b[i][i + 1] = 1;
}
build(b);
return 1;
}
#ifndef EVAL
int main() {}
#endif