Problem sumint
User Aniedg
Submission Time 2024-02-03 21:08:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:9:10: error: ‘n’ was not declared in this scope
9 | cin >> n
| ^
sumint.cpp:12:11: error: expected ‘;’ before ‘}’ token
12 | cout << q
| ^
| ;
13 | }
| ~