Problem rainbowfish
User PlayVoltz
Submission Time 2024-07-01 12:51:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rainbowfish.cpp: In function ‘int32_t main()’:
rainbowfish.cpp:68:78: error: ‘j’ was not declared in this scope
68 | for (int node=1; node<=n; ++node)for (int i=0; i<=subtree[node]; ++i)ans[i][j]|=dp[node][i];
| ^