0_0_31984310_8468.cpp: In function 'int main()':
0_0_31984310_8468.cpp:48:15: error: invalid initialization of non-const reference of type 'long long int&' from an rvalue of type 'long long int'
t2=mod(t2+c[m-1][j]*(f[i][-t]-f[i][-2-t]));
^
0_0_31984310_8468.cpp:7:6: note: in passing argument 1 of 'void mod(long long int&)'
void mod(long long &x)
^
0_0_31984310_8468.cpp:50:15: error: invalid initialization of non-const reference of type 'long long int&' from an rvalue of type 'long long int'
t2=mod(t2+c[m-1][j]*(f[i][t]-f[i][t+2]));
^
0_0_31984310_8468.cpp:7:6: note: in passing argument 1 of 'void mod(long long int&)'
void mod(long long &x)
^
0_0_31984310_8468.cpp:52:15: error: invalid initialization of non-const reference of type 'long long int&' from an rvalue of type 'long long int'
t2=mod(t2+c[m-1][j]*(f[i][t+2]-f[i][-t]));
^
0_0_31984310_8468.cpp:7:6: note: in passing argument 1 of 'void mod(long long int&)'
void mod(long long &x)
^
0_0_31984310_8468.cpp:67:15: error: invalid initialization of non-const reference of type 'long long int&' from an rvalue of type 'long long int'
t2=mod(t2+c[m][j]*f[i][-t]);
^
0_0_31984310_8468.cpp:7:6: note: in passing argument 1 of 'void mod(long long int&)'
void mod(long long &x)
^
0_0_31984310_8468.cpp:69:15: error: invalid initialization of non-const reference of type 'long long int&' from an rvalue of type 'long long int'
t2=mod(t2+c[m][j]*f[i][t]);
^
0_0_31984310_8468.cpp:7:6: note: in passing argument 1 of 'void mod(long long int&)'
void mod(long long &x)
^
|