Problem | lis_easy |
---|---|
User | Dan64091 |
Submission Time | 2025-03-16 10:43:52 |
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:12: error: expected ‘;’ before ‘{’ token
9 | if(N == 1{
| ^
| ;
lis_easy.cpp:15:10: error: condition declares an array
15 | ll int num[N];
| ^~~
lis_easy.cpp:15:16: error: expected ‘)’ before ‘;’ token
15 | ll int num[N];
| ^
| )
lis_easy.cpp:9:5: note: to match this ‘(’
9 | if(N == 1{
| ^
lis_easy.cpp:19:11: error: ‘num’ was not declared in this scope; did you mean ‘enum’?
19 | cin >> num[i];
| ^~~
| enum