# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
1207694 | jasonic | The Collection Game (BOI21_swaps) | C++20 | 0 ms | 0 KiB |
#include "swaps.h"
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define fastIO cin.tie(0); ios::sync_with_stdio(false)
void solve(int N, int V) {
vector<int> a(n);
for(int i = 0; i < n; i++) a[i] = i+1;
sort(a.begin(), a.end(), [](const int &a, const int &b) {
schedule(a, b);
vector<int> x = visit();
return x[0] == 1;
});
answer(a);
}