Problem sumint
User Hbst2013
Submission Time 2026-04-10 17:19:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:5:5: error: expected ‘,’ or ‘;’ before ‘int’
5 | int times; cin>>times;
| ^~~
sumint.cpp:5:21: error: ‘times’ was not declared in this scope; did you mean ‘time’?
5 | int times; cin>>times;
| ^~~~~
| time
sumint.cpp:10:1: error: expected ‘}’ at end of input
10 | }
| ^
sumint.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^