Problem | omnomnom |
---|---|
User | ShaquilleOatmeal34 |
Submission Time | 2025-02-18 18:13:12 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
omnomnom.cpp:6:4: error: expected unqualified-id before ‘>>’ token
6 | int>> y;
| ^~
omnomnom.cpp: In function ‘void dfs(long long int)’:
omnomnom.cpp:10:17: error: invalid types ‘bool[long long int]’ for array subscript
10 | visited[node] = true;
| ^
omnomnom.cpp:13:5: error: ‘dp’ was not declared in this scope
13 | dp[node][0] = 0;
| ^~
omnomnom.cpp:16:22: error: ‘tree’ was not declared in this scope; did you mean ‘free’?
16 | for (int child : tree[node]) {
| ^~~~
| free
omnomnom.cpp:17:27: error: invalid types ‘bool[long long int]’ for array subscript
17 | if (!visited[child]) {
| ^
At global scope:
cc1plus: error: ‘::main’ must return ‘int’
omnomnom.cpp: In function ‘int main()’:
omnomnom.cpp:29:5: error: ‘tree’ was not declared in this scope; did you