Problem rainbowfish
User PlayVoltz
Submission Time 2024-07-01 13:01:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

rainbowfish.cpp: In function ‘void dfs(int, int)’:
rainbowfish.cpp:21:33: error: array must be initialized with a brace-enclosed initializer
21 | bitset<1005> temp[1005]=dp[node];
| ~~~~~~~^
rainbowfish.cpp:28:12: error: invalid array assignment
28 | dp[node]=temp;
| ^~~~