Problem swayingflowers
User Jinxuan
Submission Time 2023-12-23 11:23:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swayingflowers.cpp: In function ‘int32_t main()’:
swayingflowers.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘for’
9 | for (int x = 1; x<=n;x++) {
| ^~~
swayingflowers.cpp:9:18: error: ‘x’ was not declared in this scope
9 | for (int x = 1; x<=n;x++) {
| ^