Problem | sumint |
---|---|
User | amanda |
Submission Time | 2024-07-15 17:58:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp:12:13: error: missing terminating " character
12 | cout<<sum<<"\n
| ^~~
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘for’
7 | for (int i=0; i<n; i++){
| ^~~
sumint.cpp:7:16: error: ‘i’ was not declared in this scope
7 | for (int i=0; i<n; i++){
| ^
sumint.cpp:13:5: error: expected primary-expression before ‘return’
13 | return 0;
| ^~~~~~