Problem | lis_easy |
---|---|
User | Elyssa278 |
Submission Time | 2023-02-24 16:33:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp:8:1: error: expected unqualified-id before ‘for’
8 | for (int i = 0; i < n; i++) {
| ^~~
lis_easy.cpp:8:17: error: ‘i’ does not name a type
8 | for (int i = 0; i < n; i++) {
| ^
lis_easy.cpp:8:24: error: ‘i’ does not name a type
8 | for (int i = 0; i < n; i++) {
| ^
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:19:13: error: ‘ans’ cannot be used as a function
19 | return ans()
| ^
lis_easy.cpp:19:14: error: expected ‘;’ before ‘}’ token
19 | return ans()
| ^
| ;
20 | }
| ~