Problem | lllontree |
---|---|
User | boaznumberd5555 |
Submission Time | 2024-12-16 12:27:08 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lllontree.cpp: In function ‘void dfsbruh(int, int, std::vector<int>)’:
lllontree.cpp:10:2: error: expected ‘,’ or ‘;’ before ‘if’
10 | if(lis.empty()) {
| ^~
lllontree.cpp:12:4: error: ‘else’ without a previous ‘if’
12 | } else {
| ^~~~
lllontree.cpp:13:22: error: request for member ‘begin’ in ‘lis’, which is of pointer type ‘std::vector<int>*’ (maybe you meant to use ‘->’ ?)
13 | if(lower_bound(lis.begin(), lis.end(), arr[node]) == lis.end()) {
| ^~~~~
lllontree.cpp:13:35: error: request for member ‘end’ in ‘lis’, which is of pointer type ‘std::vector<int>*’ (maybe you meant to use ‘->’ ?)
13 | if(lower_bound(lis.begin(), lis.end(), arr[node]) == lis.end()) {
| ^~~
lllontree.cpp:13:61: error: request for member ‘end’ in ‘lis’, which is of pointer type ‘std::vector<int>*’ (maybe you meant to use ‘->’ ?)
13 |