Problem | sumint |
---|---|
User | Hi1057 |
Submission Time | 2025-06-26 22:00:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:5:9: error: expected ‘;’ before ‘string’
5 | sum = 0
| ^
| ;
6 | string string_in_question;
| ~~~~~~
sumint.cpp:9:33: error: expected ‘)’ before numeric constant
9 | for (int i = 1; i <= days; i ++1) {
| ~ ^
| )
sumint.cpp:9:34: error: expected ‘;’ before ‘)’ token
9 | for (int i = 1; i <= days; i ++1) {
| ^
| ;