# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
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();
}
}