Problem sumint
User Yvonne
Submission Time 2024-06-18 13:25:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:12:3: error: expected primary-expression before ‘)’ token
12 | )
| ^
sumint.cpp:14:3: error: expected primary-expression before ‘)’ token
14 | )
| ^
sumint.cpp:14:3: error: expected ‘}’ at end of input
sumint.cpp:8:25: note: to match this ‘{’
8 | for (int i=0; i<d; ++i){
| ^
sumint.cpp:14:3: error: expected ‘}’ at end of input
14 | )
| ^
sumint.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^