# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1201491 | uranhishig | Finding Routers (IOI20_routers) | C++20 | 0 ms | 0 KiB |
#include "routers.h"
#include <bits/stdc++.h>
using namespace std;
std::vector<int> find_routers(int l, int n, int q) {
int ans = 0;
vector<int> v={0};
for (int i = 0; i < l; i++) {
if(idx == 1) {
ans = i;
v.push_back(ans*2 - 2);
return v;
}
int L = 0;
int R = n;
while (L + 1 < R) {
int M = (L + R)/2;
int idx = use_detector(i);
}
}
}