Problem sumint
User herngr3y
Submission Time 2026-03-30 18:19:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
sumint.cpp: In function ‘int main()’:
sumint.cpp:10:7: error: ‘i’ was not declared in this scope
10 | for (i = 0; i < d; i++)
| ^