Problem | sumint |
---|---|
User | Reality1001 |
Submission Time | 2024-02-16 13:06:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:8:9: error: expected primary-expression before ‘int’
8 | cin >> int arr[d];
| ^~~
sumint.cpp:9:6: error: expected ‘(’ before ‘{’ token
9 | for {
| ^
| (
sumint.cpp:9:6: error: expected primary-expression before ‘{’ token
sumint.cpp:18:1: error: expected primary-expression before ‘}’ token
18 | }
| ^
sumint.cpp:17:3: error: expected ‘;’ before ‘}’ token
17 | }
| ^
| ;
18 | }
| ~
sumint.cpp:18:1: error: expected primary-expression before ‘}’ token
18 | }
| ^
sumint.cpp:17:3: error: expected ‘)’ before ‘}’ token
17 | }
| ^
| )
18 | }
| ~
sumint.cpp:9:6: note: to match this ‘(’
9 | for {
| ^
sumint.cpp:18:1: error: expected primary-expression before ‘}’ token
18 | }
| ^