Submission #653088

#TimeUsernameProblemLanguageResultExecution timeMemory
653088LitusianoConnecting Supertrees (IOI20_supertrees)C++14
Compilation error
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;
}

Compilation message (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){
      |               ^~~