Problem sumint
User Arjunironman8
Submission Time 2026-06-22 16:26:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:14:2: error: expected initializer before ‘for’
14 | for (i = 0; i<d; i++){
| ^~~
sumint.cpp:14:14: error: ‘i’ was not declared in this scope
14 | for (i = 0; i<d; i++){
| ^
sumint.cpp:18:7: error: expected primary-expression before ‘,’ token
18 | cout,,ans;
| ^