circuit.cpp:3:12: error: expected ',' or ';' before 'long'
3 | #define ll long long
| ^~~~
circuit.cpp:8:1: note: in expansion of macro 'll'
8 | ll dp[2][MAX];
| ^~
circuit.cpp: In function 'void init(int, int, std::vector<int>, std::vector<int>)':
circuit.cpp:13:9: error: 'dp' was not declared in this scope
13 | memset(dp, 0, sizeof(dp));
| ^~
circuit.cpp: In function 'void dfs(int)':
circuit.cpp:31:2: error: 'dp' was not declared in this scope
31 | dp[0][u] = (dp[0][l] * dp[1][r] % MOD + dp[1][l] * dp[0][r] % MOD + 2 * dp[0][l] * dp[0][r] % MOD) % MOD;
| ^~
circuit.cpp: In function 'int count_ways(int, int)':
circuit.cpp:36:3: error: 'dp' was not declared in this scope
36 | dp[0][i] = 1 - dp[0][i];
| ^~
circuit.cpp:40:9: error: 'dp' was not declared in this scope
40 | return dp[1][0];
| ^~