Problem | lis_easy |
---|---|
User | spidermancoolboy |
Submission Time | 2024-02-02 13:53:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:14:4: error: ‘maxx’ was not declared in this scope; did you mean ‘max’?
14 | maxx+=1;
| ^~~~
| max
lis_easy.cpp:16:4: error: ‘maxx’ was not declared in this scope; did you mean ‘max’?
16 | maxx+=1;
| ^~~~
| max
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:19:9: error: expected ‘;’ before ‘}’ token
19 | max=0
| ^
| ;
20 | }
| ~
lis_easy.cpp:22:17: error: ‘maxes’ was not declared in this scope; did you mean ‘max’?
22