Problem squidzofrenzic
User wezmaster
Submission Time 2023-11-09 11:52:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

squidzofrenzic.cpp: In function ‘int main()’:
squidzofrenzic.cpp:34:17: error: ‘max_element’ was not declared in this scope
34 | int left = *max_element(iPads.begin(), iPads.end());
| ^~~~~~~~~~~
squidzofrenzic.cpp:35:17: error: ‘accumulate’ was not declared in this scope
35 | int right = accumulate(iPads.begin(), iPads.end(), 0);
| ^~~~~~~~~~