Problem lis_easy
User spidermancoolboy
Submission Time 2024-02-02 13:53:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:9:2: error: expected initializer before ‘for’
9 | for (int i=0;i<num;i++){
| ^~~
lis_easy.cpp:9:15: error: ‘i’ was not declared in this scope
9 | for (int i=0;i<num;i++){
| ^
lis_easy.cpp:18:4: error: ‘maxes’ was not declared in this scope; did you mean ‘max’?
18 | maxes.insert(max);
| ^~~~~
| max
lis_easy.cpp:22:17: error: ‘maxes’ was not declared in this scope; did you mean ‘max’?
22 | for (int y=0;y<maxes.size();y++){
| ^~~~~
| max