0_0_36475839_31015.cpp:1:1: error: 'll' does not name a type
ll qpow(ll a, ll b)
^
0_0_36475839_31015.cpp:14:1: error: 'll' does not name a type
ll A[22][110][110][2];
^
0_0_36475839_31015.cpp:15:1: error: 'll' does not name a type
ll g[110][110][2];
^
0_0_36475839_31015.cpp:16:1: error: 'll' does not name a type
ll tmp[110][110][2];
^
0_0_36475839_31015.cpp: In function 'void update(int, int)':
0_0_36475839_31015.cpp:26:17: error: 'A' was not declared in this scope
A[s][i][j][0] += A[f][i][k][0] * A[f][k][j][0] % mod; ///2^f步都没有附魔
^
0_0_36475839_31015.cpp:26:66: error: 'mod' was not declared in this scope
A[s][i][j][0] += A[f][i][k][0] * A[f][k][j][0] % mod; ///2^f步都没有附魔
^
0_0_36475839_31015.cpp: In function 'void add(int)':
0_0_36475839_31015.cpp:38:12: error: 'tmp' was not declared in this scope
memset(tmp, 0, sizeof tmp);
^
0_0_36475839_31015.cpp:38:30: error: 'memset' was not declared in this scope
memset(tmp, 0, sizeof tmp);
^
0_0_36475839_31015.cpp:45:33: error: 'g' was not declared in this scope
tmp[i][j][0] += g[i][k][0] * A[f][k][j][0] % mod;
^
0_0_36475839_31015.cpp:45:46: error: 'A' was not declared in this scope
tmp[i][j][0] += g[i][k][0] * A[f][k][j][0] % mod;
^
0_0_36475839_31015.cpp:45:62: error: 'mod' was not declared in this scope
tmp[i][j][0] += g[i][k][0] * A[f][k][j][0] % mod;
^
0_0_36475839_31015.cpp:60:17: error: 'g' was not declared in this scope
g[i][j][k] = tmp[i][j][k];
^
0_0_36475839_31015.cpp: In function 'void solve()':
0_0_36475839_31015.cpp:69:31: error: 'scanf' was not declared in this scope
scanf("%d%d%d", &n, &m, &k);
^
0_0_36475839_31015.cpp:70:27: error: 'memset' was not declared in this scope
memset(e, -1, sizeof e);
^
0_0_36475839_31015.cpp:71:12: error: 'A' was not declared in this scope
memset(A, 0, sizeof A);
^
0_0_36475839_31015.cpp:72:12: error: 'g' was not declared in this scope
memset(g, 0, sizeof g);
^
0_0_36475839_31015.cpp:90:45: error: 'mod' was not declared in this scope
A[0][i][j][e[i][j]] = qpow(sum, mod - 2);
^
0_0_36475839_31015.cpp:90:52: error: 'qpow' was not declared in this scope
A[0][i][j][e[i][j]] = qpow(sum, mod - 2);
^
0_0_36475839_31015.cpp:113:32: error: 'printf' was not declared in this scope
printf("%lld\n", g[1][n][1]);
^
|