Problem sumint
User jambusk
Submission Time 2025-06-16 15:32:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:15:23: error: expected ‘;’ before ‘return’
15 | cout << total << endl
| ^
| ;
16 | return 0
| ~~~~~~
sumint.cpp:17:3: error: expected ‘}’ at end of input
17 | }
| ^
sumint.cpp:4:12: note: to match this ‘{’
4 | int main() {
| ^