# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1252075 | antarbanik | Finding Routers (IOI20_routers) | C++20 | 0 ms | 0 KiB |
#include "routers.h"
#include <bits/stdc++.h>
using namespace std;
#include <bits/stdc++.h>
using namespace std;
vector<int> find_routers(int l, int n, int q){
vector<int> ans;
ans.push_back(0);
int i = 1;
while(1){
int x = use_defector(i);
if(x == 0) ++i;
else{
ans.push_back(2);
break;
}
}
return ans;
}