xylophone.cpp: In function 'void build_permutation1(int)':
xylophone.cpp:20:12: error: 'min_element' was not declared in this scope; did you mean 'std::min_element'?
20 | int mi = *min_element(a+1, a+n+1) - 1;
| ^~~~~~~~~~~
| std::min_element
In file included from /usr/include/c++/10/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from xylophone.cpp:2:
/usr/include/c++/10/pstl/glue_algorithm_defs.h:520:1: note: 'std::min_element' declared here
520 | min_element(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last);
| ^~~~~~~~~~~
xylophone.cpp: In function 'void build_permutation2(int)':
xylophone.cpp:35:12: error: 'min_element' was not declared in this scope; did you mean 'std::min_element'?
35 | int mi = *min_element(a+1, a+n+1) - 1;
| ^~~~~~~~~~~
| std::min_element
In file included from /usr/include/c++/10/algorithm:74,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:65,
from xylophone.cpp:2:
/usr/include/c++/10/pstl/glue_algorithm_defs.h:520:1: note: 'std::min_element' declared here
520 | min_element(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last);
| ^~~~~~~~~~~