Problem houselighting
User xd490
Submission Time 2026-11-27 13:14:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

houselighting.cpp: In function ‘int main()’:
houselighting.cpp:31:19: error: request for member ‘begin’ in ‘arr’, which is of non-class type ‘long long int [a]’
31 | std::sort(arr.begin(), arr.end());
| ^~~~~
houselighting.cpp:31:32: error: request for member ‘end’ in ‘arr’, which is of non-class type ‘long long int [a]’
31 | std::sort(arr.begin(), arr.end());
| ^~~