Problem lis_easy
User jiazethesigma
Submission Time 2025-12-12 09:36:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:8:17: error: expected unqualified-id before ‘int’
8 | int sequence=0,int maxx=0,int highest;
| ^~~
lis_easy.cpp:13:2: error: ‘highest’ was not declared in this scope
13 | highest=x[0];
| ^~~~~~~
lis_easy.cpp:22:3: error: ‘maxx’ was not declared in this scope
22 | maxx=max(sequence,maxx);
| ^~~~
lis_easy.cpp:24:8: error: ‘maxx’ was not declared in this scope
24 | cout<<maxx;
| ^~~~