Problem swayingflowers
User r1r2r3r4
Submission Time 2026-04-08 14:48:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swayingflowers.cpp: In function ‘int main()’:
swayingflowers.cpp:7:2: error: expected ‘,’ or ‘;’ before ‘for’
7 | for (int i=1;i<N+1;i++) ans += T/i;
| ^~~
swayingflowers.cpp:7:15: error: ‘i’ was not declared in this scope
7 | for (int i=1;i<N+1;i++) ans += T/i;
| ^