| Problem | sumint |
|---|---|
| User | cheryltkx |
| Submission Time | 2026-02-14 11:04:40 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:6: error: expected ‘(’ before ‘{’ token
7 | for {int i=0;i<d; i++){
| ^
| (
sumint.cpp:7:6: error: expected primary-expression before ‘{’ token
sumint.cpp:13:1: error: expected primary-expression at end of input
13 | }
| ^
sumint.cpp:13:2: error: expected ‘;’ at end of input
13 | }
| ~^
| ;
sumint.cpp:13:1: error: expected primary-expression at end of input
13 | }
| ^
sumint.cpp:13:2: error: expected ‘)’ at end of input
13 | }
| ~^
| )
sumint.cpp:7:6: note: to match this ‘(’
7 | for {int i=0;i<d; i++){
| ^
sumint.cpp:13:1: error: expected statement at end of input
13 | }
| ^
sumint.cpp:13:1: error: expected ‘}’ at end of input
sumint.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^