| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1351745 | killer_01 | Art Collections (BOI22_art) | C++20 | 0 ms | 0 KiB |
#include "art.h"
#include <bits/stdc++.h>
using namespace std;
#define ego true
#define pb push_back
#define int long long
#define endl '\n'
#define oo 1e18
#define pii pair<int, int>
#define vi vector<int>
#define vii vector<vector<int>>
#define vbb vector<vector<bool>>
#define fs first
#define ss second
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
const int N = 105;
const int MOD = 1e9 + 7;
int dx[] = {1, 0, 0, -1};
int dy[] = {0, -1, 1, 0};
void solve(int n){
vi h(n);
iota(all(h), 1);
do{
int ja = publish(h);
if (ja == 0){
answer(h);
break;
}
}while(next_permutation(all(h)));
}
// signed main(){
// ios::sync_with_stdio(false);
// cin.tie(nullptr);
// int t = 1;
// // cin >> t;
// while (t --){
// solve();
// cout << endl;
// }
// }