Problem sumint
User Cxt76
Submission Time 2024-11-11 09:31:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int32_t main()’:
sumint.cpp:11:22: error: ‘d’ was not declared in this scope
11 | for (int n = 1; n < d; n++) {
| ^
sumint.cpp:13:14: error: expected ‘;’ before ‘totalmews’
13 | cin >> mews
| ^
| ;
14 | totalmews += mews
| ~~~~~~~~~