| Problem | sumint |
|---|---|
| User | ilikefriendchickn |
| Submission Time | 2026-06-23 08:34:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:10:6: error: ‘i’ was not declared in this scope
10 | for(i=0;i<=days;i++){
| ^
sumint.cpp:12:12: error: expected ‘;’ before ‘answer’
12 | cin>>temp
| ^
| ;
13 | answer=answer+temp
| ~~~~~~
sumint.cpp:23:13: error: expected ‘;’ before ‘}’ token
23 | cout<<answer
| ^
| ;
24 | }
| ~