Problem sumint
User BlueSpace
Submission Time 2026-11-16 10:50:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int32_t main()’:
sumint.cpp:9:3: error: ‘sum’ was not declared in this scope
9 | sum += x
| ^~~
sumint.cpp:9:10: error: ‘x’ was not declared in this scope
9 | sum += x
| ^
sumint.cpp:14:10: error: ‘x’ was not declared in this scope
14 | cout << x << "\n";
| ^