art.cpp: In function 'void solve(int)':
art.cpp:24:17: error: 'publish' was not declared in this scope
24 | rt[i] = publish(ask);
| ^~~~~~~
art.cpp:28:9: error: no matching function for call to 'iota(std::vector<int>::iterator, std::vector<int>::iterator)'
28 | iota(ord.begin(), ord.end());
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/numeric:62,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:84,
from art.cpp:4:
/usr/include/c++/11/bits/stl_numeric.h:88:5: note: candidate: 'template<class _ForwardIterator, class _Tp> constexpr void std::iota(_ForwardIterator, _ForwardIterator, _Tp)'
88 | iota(_ForwardIterator __first, _ForwardIterator __last, _Tp __value)
| ^~~~
/usr/include/c++/11/bits/stl_numeric.h:88:5: note: template argument deduction/substitution failed:
art.cpp:28:9: note: candidate expects 3 arguments, 2 provided
28 | iota(ord.begin(), ord.end());
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
art.cpp:33:5: error: 'answer' was not declared in this scope
33 | answer(ord);
| ^~~~~~