제출 #397237

#제출 시각아이디문제언어결과실행 시간메모리
397237ruadhan슈퍼트리 잇기 (IOI20_supertrees)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> using namespace std; int construct(vector<vector<int>> p) { int n = p.size(); vector<vector<int>> b(n, vector<int>(n)); for (int i = 1; i < n; i++) b[0][i] = 1, b[i][0] = 1; build(b); return 1; } int main() { return 0; }

컴파일 시 표준 에러 (stderr) 메시지

supertrees.cpp: In function 'int construct(std::vector<std::vector<int> >)':
supertrees.cpp:11:5: error: 'build' was not declared in this scope
   11 |     build(b);
      |     ^~~~~