# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1255283 | robijoy | Finding Routers (IOI20_routers) | C++17 | 0 ms | 320 KiB |
/*
* Starting with the name of almighty ALLAH
*/
#include "routers.h"
// #include <bits/stdc++.h>
using namespace std;
// #define int long long
// vector<int> p = {0,3};
// int use_detector(int x)
// {
// vector<int>::iterator left, right;
// right = upper_bound(p.begin(), p.end(), x);
// left = prev(right);
// if (right == p.end()) {
// return p.size() - 1;
// } else if ((x - *left) <= (*right - x)){
// return std::distance(p.begin(), left);
// } else {
// return std::distance(p.begin(), right);
// }
// }
vector<int> find_routers(int l, int n, int q) {
use_detector(0);
}
// int32_t main() {
// ios::sync_with_stdio(false);
// cin.tie(0);
// int l, n, q;
// cin>>l>>n>>q;
// vector<int> robi = find_routers(l,n,q);
// }
컴파일 시 표준 에러 (stderr) 메시지
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |