0_0_38459598_22314.cpp: In function 'long long int linear_seq::get(std::vector<long long int>&, long long int)':
0_0_38459598_22314.cpp:127:72: error: invalid initialization of non-const reference of type 'std::vector<long long int>&' from an rvalue of type 'std::vector<long long int>'
return solve(n, c, vector<int>(a.begin(), a.begin() + c.size()));
^
0_0_38459598_22314.cpp:48:9: note: in passing argument 3 of 'long long int linear_seq::solve(long long int, std::vector<long long int>&, std::vector<long long int>&)'
int solve(int n, vector<int> &a, vector<int> &b) {
^
|