Submission #1120487

#TimeUsernameProblemLanguageResultExecution timeMemory
1120487vjudge1Event Hopping (BOI22_events)C++17
Compilation error
0 ms0 KiB
#include<bits/stdc++.h>
#include "art.h"
using namespace std;
void solve(int n) {
	vector <int> v, v2;
	for(int i = 1; i <= n; i++) {
		v.push_back(i);
	}
	int res = publish(v);
	for(int i = 0; i < v.sz(); i++) {
		for(int j = 0; j < v.sz(); j++) {
			if(i == j) continue;
			swap(v[i], v[j]);
			int cur = publish(v);
			if(cur > res) {
				swap(v[i], v[j]);
			}
		}
	}
	answer(v);
}

Compilation message (stderr)

events.cpp:2:10: fatal error: art.h: No such file or directory
    2 | #include "art.h"
      |          ^~~~~~~
compilation terminated.