Submission #1129776

#TimeUsernameProblemLanguageResultExecution timeMemory
1129776origabaiIsland Hopping (JOI24_island)C++20
13 / 100
2 ms416 KiB
#include "island.h" #include<bits/stdc++.h> using namespace std; void solve(int N, int L) { int v = query(1, N-1); vector<int> line; for (int i=1;i<N;i++){ line.push_back(query(v,i)); } for (int x : line){ answer(x,v); v = x; } }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...