제출 #74966

#제출 시각아이디문제언어결과실행 시간메모리
74966khsoo01통행료 (IOI18_highway)C++11
컴파일 에러
0 ms0 KiB
#include "highway.h" #include<bits/stdc++.h> using namespace std; ll query () { vector<int> V; for(int i=0;i<m;i++) { V.push_back(0); } return ask(V); } void find_pair(int _N, vector<int> _U, vector<int> _V, int _A, int _B) { for(int i=0;i<100;i++) { query(); } }

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

highway.cpp:5:1: error: 'll' does not name a type
 ll query () {
 ^~
highway.cpp: In function 'void find_pair(int, std::vector<int>, std::vector<int>, int, int)':
highway.cpp:15:3: error: 'query' was not declared in this scope
   query();
   ^~~~~