Problem universe
User nguyendinhanh1508
Submission Time 2024-04-02 09:39:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

universe.cpp: In function ‘void dfs(long long int, long long int)’:
universe.cpp:18:20: error: ‘x’ was not declared in this scope
18 | cat[it] += cat[x];
| ^
universe.cpp: In function ‘int32_t main()’:
universe.cpp:42:23: error: no post-increment operator for type
42 | if(cango[i]) count++;
| ^~