제출 #653088

#제출 시각아이디문제언어결과실행 시간메모리
653088Litusiano슈퍼트리 잇기 (IOI20_supertrees)C++14
컴파일 에러
0 ms0 KiB
#include "supertrees.h"
#include <vector>
#include <cassert>
#include <cstdio>
#include <cstdlib>
#include <string>
using namespace std;

int construct(vvi p){
  build(p);
  return 1;
}

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

supertrees.cpp:9:15: error: 'int construct' redeclared as different kind of entity
    9 | int construct(vvi p){
      |               ^~~
In file included from supertrees.cpp:1:
supertrees.h:3:5: note: previous declaration 'int construct(std::vector<std::vector<int> >)'
    3 | int construct(std::vector<std::vector<int>> p);
      |     ^~~~~~~~~
supertrees.cpp:9:15: error: 'vvi' was not declared in this scope
    9 | int construct(vvi p){
      |               ^~~