Problem omnomnom
User AlphanumericUsername
Submission Time 2023-01-11 16:34:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

omnomnom.cpp: In function ‘long long int dfs(long long int, bool)’:
omnomnom.cpp:11:18: error: invalid types ‘long long int[long long int]’ for array subscript
11 | if(!node[it]) ret += max(dfs(it, 0), dfs(it, 1));
| ^
omnomnom.cpp:15:18: error: invalid types ‘long long int[long long int]’ for array subscript
15 | if(!node[it]) ret += dfs(it, 0);
| ^