Problem sumint
User annan
Submission Time 2023-11-09 13:53:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp:6:12: error: stray ‘\357’ in program
6 | int sum;
| ^
sumint.cpp:6:13: error: stray ‘\274’ in program
6 | int sum;
| ^
sumint.cpp:6:14: error: stray ‘\233’ in program
6 | int sum;
| ^
sumint.cpp: In function ‘int main()’:
sumint.cpp:7:5: error: expected initializer before ‘for’
7 | for (int i = 0; i < d; i++) {
| ^~~
sumint.cpp:7:21: error: ‘i’ was not declared in this scope
7 | for (int i = 0; i < d; i++) {
| ^
sumint.cpp:11:13: error: ‘sum’ was not declared in this scope
11 | cout << sum;
| ^~~