Problem foreveralone
User 123456789
Submission Time 2023-04-28 14:23:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int32_t main()’:
foreveralone.cpp:8:33: error: expected ‘;’ before ‘for’
8 | int cat[n]; fill(cat, cat+n, 1)
| ^
| ;
9 | for (int i = 0; i < m; i++) {
| ~~~
foreveralone.cpp:9:18: error: ‘i’ was not declared in this scope
9 | for (int i = 0; i < m; i++) {
| ^