cubeword.cpp: In function 'void solve()':
cubeword.cpp:59:30: error: invalid operands of types 'long long int [33]' and 'long long int [33]' to binary 'operator*'
59 | g[j][l][u] += ((v[i][j]*v[i][l]) % mod) * (v[i][u])% mod;
| ~~~~~~~^~~~~~~~
| | |
| | long long int [33]
| long long int [33]
cubeword.cpp:60:18: error: invalid operands of types 'long long int [33]' and 'long long int' to binary 'operator%'
60 | g[j][l][u] %= mod;
| ~~~~~~~~~~~^~~~~~
cubeword.cpp:60:18: note: in evaluation of 'operator%=(long long int [33], long long int)'
cubeword.cpp:72:28: error: invalid operands of types 'long long int [33]' and 'long long int [33]' to binary 'operator*'
72 | ans += (((g[i][j][l] * g[i][j][u])% mod) * g[i][l][u]) % mod * g[j][l][u] % mod;
| ~~~~~~~~~~ ^ ~~~~~~~~~~
| | |
| | long long int [33]
| long long int [33]