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

Compile Error

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