제출 #424488

#제출 시각아이디문제언어결과실행 시간메모리
424488berrygarlicConnecting Supertrees (IOI20_supertrees)C++14
컴파일 에러
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[i-1][i] = 1;
	}
	build(b);
	return 1;
}

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

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