Submission #879828

#TimeUsernameProblemLanguageResultExecution timeMemory
879828LibSplit the Attractions (IOI19_split)C++14
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> #include "split.h" vector <vector <int> > adj; vector <int> TVector; int cpos[200003]; deque <int> clist; int find_split(int n, int a, int b, int c, vector <int> s, vector <int> e){ }

Compilation message (stderr)

split.cpp:3:1: error: 'vector' does not name a type
    3 | vector <vector <int> > adj;
      | ^~~~~~
split.cpp:4:1: error: 'vector' does not name a type
    4 | vector <int> TVector;
      | ^~~~~~
split.cpp:6:1: error: 'deque' does not name a type
    6 | deque <int> clist;
      | ^~~~~
split.cpp:7:44: error: 'vector' has not been declared
    7 | int find_split(int n, int a, int b, int c, vector <int> s, vector <int> e){
      |                                            ^~~~~~
split.cpp:7:51: error: expected ',' or '...' before '<' token
    7 | int find_split(int n, int a, int b, int c, vector <int> s, vector <int> e){
      |                                                   ^
split.cpp: In function 'int find_split(int, int, int, int, int)':
split.cpp:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
    9 | }
      | ^