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

Compile Error

foreveralone.cpp: In function ‘int32_t main()’:
foreveralone.cpp:8:18: error: request for member ‘fill’ in ‘cat’, which is of non-class type ‘long long int [n]’
8 | int cat[n]; cat.fill(1);
| ^~~~
foreveralone.cpp:16:9: error: expected ‘;’ before ‘cat’
16 | ans ++ cat[i];
| ^~~~
| ;