Problem monuments
User Xiaoyang
Submission Time 2026-09-22 23:05:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monuments.cpp: In function ‘long long int get_cost(std::vector<int>, std::vector<int>)’:
monuments.cpp:41:12: error: ‘x’ was not declared in this scope
41 | sort(ALL(x));
| ^
monuments.cpp:17:16: note: in definition of macro ‘ALL’
17 | #define ALL(x) x.begin(),x.end()
| ^