Problem sumint
User brianfanchelsea
Submission Time 2024-01-05 21:07:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:7:19: error: expected ‘;’ before ‘<’ token
7 | for (int i = 0, i < n, i++) {
| ^~
| ;
sumint.cpp:7:20: error: expected primary-expression before ‘<’ token
7 | for (int i = 0, i < n, i++) {
| ^
sumint.cpp:7:28: error: expected ‘;’ before ‘)’ token
7 | for (int i = 0, i < n, i++) {
| ^
| ;
sumint.cpp:11:19: error: expected ‘;’ before ‘<’ token
11 | for (int i = 0, i < n, i++) {
| ^~
| ;
sumint.cpp:11:20: error: expected primary-expression before ‘<’ token
11 | for (int i = 0, i < n, i++) {
| ^
sumint.cpp:11:28: error: expected ‘;’ before ‘)’ token
11 | for (int i = 0, i < n, i++) {
|