art.cpp:14:18: warning: overflow in conversion from 'double' to 'int' changes value from '1.0e+18' to '2147483647' [-Woverflow]
14 | const int inf = 1e18;
| ^~~~
art.cpp:16:8: warning: use of 'auto' in parameter declaration only available with '-fconcepts-ts'
16 | void p(auto A){
| ^~~~
art.cpp: In function 'int main()':
art.cpp:55:9: error: 't' was not declared in this scope
55 | cin >> t;
| ^
art.cpp:56:18: error: too few arguments to function 'void solve(int)'
56 | while(t--)solve();
| ^
art.cpp:31:6: note: declared here
31 | void solve(int N){
| ^~~~~
interface.cpp: In function 'int publish(std::vector<int>)':
interface.cpp:20:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
20 | if(v.size() != N) {
| ~~~~~~~~~^~~~
interface.cpp: In function 'void answer(std::vector<int>)':
interface.cpp:36:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | if(v.size() != N) {
| ~~~~~~~~~^~~~