Problem sumint
User hitarthdangra
Submission Time 2025-06-16 15:49:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:14:3: error: ‘total’ was not declared in this scope
14 | total = 0;
| ^~~~~
sumint.cpp:20:2: error: expected ‘}’ at end of input
20 | }
| ^
sumint.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^