Problem performance
User StarSparrowFox
Submission Time 2024-12-28 11:31:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

performance.cpp: In function ‘int main()’:
performance.cpp:22:32: error: request for member ‘begin’ in ‘performers’, which is of non-class type ‘long long int [N]’
22 | reverse(performers.begin() + 1, performers.end());
| ^~~~~
performance.cpp:22:56: error: request for member ‘end’ in ‘performers’, which is of non-class type ‘long long int [N]’
22 | reverse(performers.begin() + 1, performers.end());
| ^~~
performance.cpp:24:32: error: request for member ‘begin’ in ‘performers’, which is of non-class type ‘long long int [N]’
24 | reverse(performers.begin(), performers.end());
| ^~~~~
performance.cpp:24:52: error: request for member ‘end’ in ‘performers’, which is of non-class type ‘long long int [N]’
24 | reverse(performers.begin(), performers.end());
|