0_0_30515762_23496.cpp: In function 'int main()':
0_0_30515762_23496.cpp:58:24: error: invalid operands of types 'll [31] {aka long long int [31]}' and 'll* {aka long long int*}' to binary 'operator+'
(f[j][k+l1][l1]+=(g[j][k][l]+(n+m-j-k)*c[m-k][l1]%p%p*qpow((qpow(2,l)-1),l1)))%=p;
^
0_0_30515762_23496.cpp:58:24: error: in evaluation of 'operator+=(ll [31] {aka long long int [31]}, ll* {aka long long int*})'
0_0_30515762_23496.cpp:64:24: error: invalid operands of types 'll [31] {aka long long int [31]}' and 'll* {aka long long int*}' to binary 'operator+'
(f[j+l1][k][l1]+=(g[j][k][l]+(n+m-j-k)*c[n-j][l1]%p%p*qpow((qpow(2,l)-1),l1)))%=p;
^
0_0_30515762_23496.cpp:64:24: error: in evaluation of 'operator+=(ll [31] {aka long long int [31]}, ll* {aka long long int*})'
0_0_30515762_23496.cpp:67:52: error: invalid operands of types 'll* {aka long long int*}' and 'll {aka long long int}' to binary 'operator%'
for (int j=0;j<=30;j++) ans=(ans+f[n][m][j])%p;
^
|