# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1129777 | ohad | Island Hopping (JOI24_island) | C++20 | 0 ms | 0 KiB |
#include "island.h"
#include<bits/stdc++.h>
using namespace std;
void solve(int N, int L){
queue<int> q;
for(int i = 1; i < N; i++){
q.push(query(1,i));
}
while(!q.empty()){
answer(q.top(),query(q.top(),1));
q.pop();
}
}