Problem squidzofrenzic
User yuanbin
Submission Time 2026-07-18 10:34:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squidzofrenzic.cpp: In function ‘int main()’:
squidzofrenzic.cpp:28:15: error: ‘max_element’ was not declared in this scope
28 | llong low = *max_element(boxes.begin(), boxes.end()), high = accumulate(boxes.begin, boxes.end, 0);
| ^~~~~~~~~~~
squidzofrenzic.cpp:29:13: error: ‘high’ was not declared in this scope
29 | while (low<high){
| ^~~~