0_0_36276413_2554.cpp:16:11: error: expected unqualified-id before '[' token
long long [N][K], g[N][K], sum[N][K];
^
0_0_36276413_2554.cpp: In function 'void dfs1(int, int)':
0_0_36276413_2554.cpp:18:1: error: 'f' was not declared in this scope
f[u][0] = 1;
^
0_0_36276413_2554.cpp: In function 'void dfs2(int, int)':
0_0_36276413_2554.cpp:33:1: error: 'g' was not declared in this scope
g[v][j] = f[u][j - 1] - f[v][j - 2] + g[u][j - 1];
^
0_0_36276413_2554.cpp:33:11: error: 'f' was not declared in this scope
g[v][j] = f[u][j - 1] - f[v][j - 2] + g[u][j - 1];
^
0_0_36276413_2554.cpp:35:1: error: 'f' was not declared in this scope
f[v][1] = f[u][0];
^
0_0_36276413_2554.cpp: In function 'int main()':
0_0_36276413_2554.cpp:44:8: error: 'f' was not declared in this scope
memset(f, 0, sizeof(f));
^
0_0_36276413_2554.cpp:45:8: error: 'g' was not declared in this scope
memset(g, 0, sizeof(g));
^
0_0_36276413_2554.cpp:46:8: error: 'sum' was not declared in this scope
memset(sum, 0, sizeof(sum));
^
|