0_0_24568233_25973.cpp: In function 'll linear_seq::gao(VI&, ll)':
0_0_24568233_25973.cpp:91:55: error: invalid initialization of non-const reference of type 'VI& {aka std::vector<int>&}' from an rvalue of type 'VI {aka std::vector<int>}'
return solve(n,c,VI(a.begin(),a.begin()+SZ(c)));
^
0_0_24568233_25973.cpp:42:8: note: in passing argument 3 of 'll linear_seq::solve(ll, VI&, VI&)'
ll solve(ll n,VI&a,VI&b) {
^
0_0_24568233_25973.cpp: In function 'int main()':
0_0_24568233_25973.cpp:100:121: error: invalid initialization of non-const reference of type 'VI& {aka std::vector<int>&}' from an rvalue of type 'VI {aka std::vector<int>}'
printf("%lld\n",linear_seq::gao(VI{0,1,5,11,36,95,281,781,2245,6336,18061,51205,145601,413351,1174500,3335651},n));
^
0_0_24568233_25973.cpp:87:8: note: in passing argument 1 of 'll linear_seq::gao(VI&, ll)'
ll gao(VI&a,ll n) {
^
|