Problem sumint
User tacticalnerd
Submission Time 2024-04-13 10:58:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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