Problem foreveralone
User 123456789
Submission Time 2023-04-28 14:20:28
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(cat.begin(), cat.end(), 1);
| ^~~~
foreveralone.cpp:8:27: error: request for member ‘begin’ in ‘cat’, which is of non-class type ‘long long int [n]’
8 | int cat[n]; cat.fill(cat.begin(), cat.end(), 1);
| ^~~~~
foreveralone.cpp:8:40: error: request for member ‘end’ in ‘cat’, which is of non-class type ‘long long int [n]’
8 | int cat[n]; cat.fill(cat.begin(), cat.end(), 1);
| ^~~