| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1290661 | ey00 | Xylophone (JOI18_xylophone) | C++20 | 1 ms | 336 KiB |
#include <bits/stdc++.h>
#include "xylophone.h"
using namespace std;
void solve(int N) {
vector<bool> used(N+1,false);
for(int i=1;i<=N;i++){
for(int val=1; val<=N; val++){
if(used[val]) continue;
int diff = query(i,i);
used[val] = true;
answer(i,val);
break;
}
}
}
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
| # | Verdict | Execution time | Memory | Grader output |
|---|---|---|---|---|
| Fetching results... | ||||
