제출 #879828

#제출 시각아이디문제언어결과실행 시간메모리
879828LibSplit the Attractions (IOI19_split)C++14
컴파일 에러
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){ }

컴파일 시 표준 에러 (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 | }
      | ^