Problem sumint
User Arjunironman8
Submission Time 2026-06-22 16:24:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sumint.cpp: In function ‘int main()’:
sumint.cpp:10:5: error: expected ‘;’ before ‘long’
10 | cin
| ^
| ;
sumint.cpp:16:2: error: expected initializer before ‘for’
16 | for ( i = 0; i<day; i++){cin>>daymeow:
| ^~~
sumint.cpp:16:15: error: ‘i’ was not declared in this scope
16 | for ( i = 0; i<day; i++){cin>>daymeow:
| ^
sumint.cpp:18:11: error: expected ‘;’ before ‘}’ token
18 | cout<<ans}
| ^
| ;