Problem | sumint |
---|---|
User | Sarah285 |
Submission Time | 2024-07-08 14:20:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:8:2: error: expected ‘,’ or ‘;’ before ‘for’
8 | for (int i=0;i<days;i++){
| ^~~
sumint.cpp:8:15: error: ‘i’ was not declared in this scope
8 | for (int i=0;i<days;i++){
| ^
sumint.cpp:13:10: error: expected ‘}’ at end of input
13 | return 0;
| ^
sumint.cpp:4:11: note: to match this ‘{’
4 | int main(){
| ^