Problem sumint
User DL2704
Submission Time 2023-11-10 22:07:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:6:27: error: expected ‘;’ before ‘<’ token
6 | for (int total = 0, total < d, total++){
| ^~
| ;
sumint.cpp:6:28: error: expected primary-expression before ‘<’ token
6 | for (int total = 0, total < d, total++){
| ^
sumint.cpp:6:40: error: expected ‘;’ before ‘)’ token
6 | for (int total = 0, total < d, total++){
| ^
| ;