제출 #152561

#제출 시각아이디문제언어결과실행 시간메모리
152561usernameTwo Transportations (JOI19_transportations)C++14
컴파일 에러
0 ms0 KiB
#include "Baijan.h" void InitB(int _n,int a,vector<int>u,vector<int>v,vector<int>c) { } void ReceiveB(bool x){ }
#include "Azer.h" #include<bits/stdc++.h> using namespace std; void InitA(int _n,int a,vector<int>u,vector<int>v,vector<int>c) { } void ReceiveA(bool x){ } vector<int>Answer(){ vector<int>ret; return ret; }

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

Azer.cpp:3:25: error: 'vector' has not been declared
 void InitB(int _n,int a,vector<int>u,vector<int>v,vector<int>c) {
                         ^~~~~~
Azer.cpp:3:31: error: expected ',' or '...' before '<' token
 void InitB(int _n,int a,vector<int>u,vector<int>v,vector<int>c) {
                               ^

/tmp/ccJ4u8pK.o: In function `main':
grader_baijan.cpp:(.text.startup+0x163): undefined reference to `InitB(int, int, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
grader_baijan.cpp:(.text.startup+0x1df): undefined reference to `ReceiveB(bool)'
collect2: error: ld returned 1 exit status