Problem sumint
User Rollsroyce26
Submission Time 2024-06-20 09:27:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:5:18: error: ‘d’ was not declared in this scope
5 | int stinkymf[d];
| ^
sumint.cpp:6:18: error: ‘n’ was not declared in this scope
6 | for (int i=0; i<n; i++;) {
| ^
sumint.cpp:6:24: error: expected ‘)’ before ‘;’ token
6 | for (int i=0; i<n; i++;) {
| ~ ^
| )
sumint.cpp:6:25: error: expected primary-expression before ‘)’ token
6 | for (int i=0; i<n; i++;) {
| ^