| Problem | lis_easy |
|---|---|
| User | j0ashhh |
| Submission Time | 2026-02-15 20:23:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int lis(std::vector<int>)’:
lis_easy.cpp:9:12: error: assignment of read-only location ‘*(lis + ((sizetype)i))’
9 | lis[i] = lis[prev] + 1;
| ~~~~~~~^~~~~~~~~~~~~~~
lis_easy.cpp:13:26: error: request for member ‘begin’ in ‘lis’, which is of non-class type ‘int(std::vector<int>)’
13 | return *max_element(lis.begin(), lis.end());
| ^~~~~
lis_easy.cpp:13:39: error: request for member ‘end’ in ‘lis’, which is of non-class type ‘int(std::vector<int>)’
13 | return *max_element(lis.begin(), lis.end());
| ^~~
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:22:2: error: ‘cutt’ was not declared in this scope
22 | cutt << lis(arr);
| ^~~~