dango3.cpp: In function 'long long int GetMax(const std::vector<long long int>&, long long int, long long int)':
dango3.cpp:21:22: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type 'std::vector<long long int>'
21 | return m - Query(now);
| ^~~
In file included from dango3.cpp:2:
dango3.h:5:35: note: in passing argument 1 of 'int Query(const std::vector<int>&)'
5 | int Query(const std::vector<int> &x);
| ~~~~~~~~~~~~~~~~~~~~~~~~^
dango3.cpp: In function 'void Solve(long long int, long long int)':
dango3.cpp:50:15: error: invalid initialization of reference of type 'const std::vector<int>&' from expression of type '__gnu_cxx::__alloc_traits<std::allocator<std::vector<long long int> >, std::vector<long long int> >::value_type' {aka 'std::vector<long long int>'}
50 | Answer(ans[i]);
| ~~~~~~^~~~~~~~
In file included from dango3.cpp:2:
dango3.h:6:37: note: in passing argument 1 of 'void Answer(const std::vector<int>&)'
6 | void Answer(const std::vector<int> &a);
| ~~~~~~~~~~~~~~~~~~~~~~~~^