제출 #1252066

#제출 시각아이디문제언어결과실행 시간메모리
1252066antarbanikFinding Routers (IOI20_routers)C++20
컴파일 에러
0 ms0 KiB
#include "routers.h" vector<int> find_routers(int l, int n, int q){ vector<int> ans; for(int i = 1;i<=l;++i){ if(use_detector(i) == 0) continue; ans.pb((i-1)*2); } return ans; }

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

routers.cpp:2:1: error: 'vector' does not name a type
    2 | vector<int> find_routers(int l, int n, int q){
      | ^~~~~~