| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1291619 | kahoul | Connecting Supertrees (IOI20_supertrees) | C++20 | 0 ms | 0 KiB |
#include "supertrees.h"
#include <bits/stdc++.h>
using namespace std;
int construct(vector<vector<int>> p) {
int n = p.size();
vector<vector<int>> answer;
vector<int> row1(n, 1);
row1[0] = 0;
asnwer.push_back(row1);
for (int i = 1; i < n; i++) {
vector<int> row;
row.resize(n);
row[0] = 1;
answer.push_back(row);
}
build(answer);
return 1;
}
