Problem sumint
User sy123
Submission Time 2023-11-16 20:18:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main(){
| ~~~
sumint.cpp: In function ‘int main()’:
sumint.cpp:11:6: error: ‘n’ was not declared in this scope
11 | for(n=0;n<d;i++){
| ^
sumint.cpp:11:14: error: ‘i’ was not declared in this scope
11 | for(n=0;n<d;i++){
| ^
sumint.cpp:12:15: error: ‘meow’ was not declared in this scope; did you mean ‘meows’?
12 | total=total+meow[d]
| ^~~~
| meows