Problem sumint
User earthyeet
Submission Time 2025-07-29 11:22:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:7: error: redeclaration of ‘int a’
9 | int a = tmp++;
| ^
sumint.cpp:8:7: note: ‘int a’ previously declared here
8 | int a; cin >> a;
| ^
sumint.cpp:11:13: error: expected ‘;’ before ‘}’ token
11 | cout << tmp
| ^
| ;
12 | }
| ~