Problem | lis_easy |
---|---|
User | asruby |
Submission Time | 2023-12-01 13:13:55 |
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:9:6: error: ‘X’ was not declared in this scope
9 | if (X == 0){
| ^
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){
| ^