Problem sumint
User RhombusGHIL
Submission Time 2026-04-15 17:00:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:10:6: error: expected ‘;’ before ‘dih’
10 | a+=1
| ^
| ;
11 | dih b;
| ~~~
sumint.cpp:15:3: error: ‘b’ was not declared in this scope
15 | b+=c;
| ^
sumint.cpp:17:6: error: expected ‘;’ before ‘b’
17 | cout b;
| ^~
| ;
sumint.cpp:18:10: error: expected ‘;’ at end of input
18 | return 0
| ~^
| ;
sumint.cpp:18:9: error: expected ‘}’ at end of input
18 | return 0
| ^
sumint.cpp:7:12: note: to match this ‘{’
7 | int main() {
| ^