Problem | treecutting |
---|---|
User | trisanu123 |
Submission Time | 2023-01-29 21:40:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
treecutting.cpp: In function ‘int deepest(int, int)’:
treecutting.cpp:60:28: error: expected primary-expression before ‘=’ token
60 | int deepest(int x, int y) {=
| ^
treecutting.cpp:61:5: error: expected primary-expression before ‘int’
61 | int ans = 1;
| ^~~
treecutting.cpp:64:13: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
64 | ans = max(ans, 1 + deepest(y, j));
| ^~~
| abs
treecutting.cpp:67:12: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
67 | return ans;
| ^~~
| abs