Problem | lis_easy |
---|---|
User | Anonymous35V |
Submission Time | 2023-11-10 10:18:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp:6:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
6 | cin>>n;
| ^~~
| sin
lis_easy.cpp:8:11: error: array bound is not an integer constant before ‘]’ token
8 | int arr[n];
| ^
lis_easy.cpp:9:2: error: expected unqualified-id before ‘for’
9 | for (int i=0; i<n; i++){
| ^~~
lis_easy.cpp:9:16: error: ‘i’ does not name a type
9 | for (int i=0; i<n; i++){
| ^
lis_easy.cpp:9:21: error: ‘i’ does not name a type
9 | for (int i=0; i<n; i++){
| ^
lis_easy.cpp:12:11: error: array bound is not an integer constant before ‘]’ token
12 | int lis[n];
| ^
lis_easy.cpp:13:8: error: expected constructor, destructor, or type conversion before ‘(’ token
13 | memset(lis, 0, sizeof(lis));
| ^
lis_easy.cpp:14:2: error: expected unqualified-id before ‘for’
14