messy.cpp: In function 'std::vector<int> restore_permutation(int, int, int)':
messy.cpp:10:13: error: 'add_element' was not declared in this scope
10 | add_element(S);
| ^~~~~~~~~~~
messy.cpp:12:9: error: 'compile_set' was not declared in this scope
12 | compile_set();
| ^~~~~~~~~~~
messy.cpp:17:21: error: 'check_element' was not declared in this scope
17 | if (check_element(temp)) {
| ^~~~~~~~~~~~~
messy.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~
messy_c.h:1:9: warning: #pragma once in main file
1 | #pragma once
| ^~~~