Problem sumint
User CrackingCodes
Submission Time 2024-04-05 14:27:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp:4:2: error: expected initializer before ‘int’
4 | int d;
| ^~~
sumint.cpp:6:2: error: expected unqualified-id before ‘for’
6 | for (int i = 0; i < n; i++){
| ^~~
sumint.cpp:6:18: error: ‘i’ does not name a type
6 | for (int i = 0; i < n; i++){
| ^
sumint.cpp:6:25: error: ‘i’ does not name a type
6 | for (int i = 0; i < n; i++){
| ^