Problem | lis_easy |
---|---|
User | asruby |
Submission Time | 2023-12-01 13:14:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘long long int recur(long long int)’:
lis_easy.cpp:10:9: error: ‘X’ was not declared in this scope
10 | lis[X] = 1;
| ^
lis_easy.cpp:14:44: error: expected ‘)’ before ‘{’ token
14 | if (arr[x] > *max_element(lis, lis + x){
| ~ ^
| )
lis_easy.cpp:25:1: error: expected primary-expression before ‘}’ token
25 | }
| ^
lis_easy.cpp:26:1: error: ‘main’ was not declared in this scope
26 | main(){
| ^~~~
lis_easy.cpp:35:1: error: expected ‘}’ at end of input
35 | }
| ^
lis_easy.cpp:8:17: note: to match this ‘{’
8 | int recur(int x){
| ^