Problem | omnomnom |
---|---|
User | AlphanumericUsername |
Submission Time | 2023-01-11 16:33:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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,node), dfs(it, 1,node));
| ^
omnomnom.cpp:11:46: error: too many arguments to function ‘long long int dfs(long long int, bool)’
11 | if(!node[it]) ret += max(dfs(it, 0,node), dfs(it, 1,node));
| ^
omnomnom.cpp:6:5: note: declared here
6 | int dfs(int node, bool t) {
| ^~~
omnomnom.cpp:11:63: error: too many arguments to function ‘long long int dfs(long long int, bool)’
11 | if(!node[it]) ret += max(dfs(it, 0,node), dfs(it, 1,node));
| ^
omnomnom.cpp:6:5: note: declared here
6 | int dfs(int node, bool t) {
| ^~~
omnomnom.cpp:15:18: error: invalid typ