Problem sumint
User griuehiruhigero
Submission Time 2023-06-18 10:57:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:6:20: error: expected ‘;’ before ‘)’ token
6 | for(i=0, i==d, i++){
| ^
| ;
sumint.cpp:11:2: error: expected primary-expression before ‘return’
11 | return 0;
| ^~~~~~
sumint.cpp:10:14: error: expected ‘)’ before ‘return’
10 | cout << sum;
| ^
| )
11 | return 0;
| ~~~~~~
sumint.cpp:6:5: note: to match this ‘(’
6 | for(i=0, i==d, i++){
| ^