Problem sumint
User Jinseo
Submission Time 2023-05-18 11:53:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:11:18: error: expected ‘;’ before ‘<’ token
11 | for(int i = 0, i<N; i++){
| ^
| ;
sumint.cpp:11:18: error: expected primary-expression before ‘<’ token
sumint.cpp:17:10: error: ‘sum’ was not declared in this scope
17 | cout << sum;
| ^~~