제출 #382964

#제출 시각아이디문제언어결과실행 시간메모리
382964AlmaFinding Routers (IOI20_routers)C++17
컴파일 에러
0 ms0 KiB
#include <bits/stdc++.h> #include <routers> using namespace std; vector<int> find_routers(int l, int n, int q) { int lo = 0, hi = l, mid, res = 0; while (lo <= hi) { mid = lo + (hi-lo) / 2; if (use_detector(mid) == 0) { res = mid; hi = mid-1; } else { lo = mid+1; } } vector<int> ans; if (res == 0) { ans = {0, 1}; } else { ans = {0, 2*res}; } return ans; }

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

routers.cpp:2:10: fatal error: routers: No such file or directory
    2 | #include <routers>
      |          ^~~~~~~~~
compilation terminated.