Problem waterbomb
User R9q5P8
Submission Time 2025-11-14 00:28:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

waterbomb.cpp: In function ‘int main()’:
waterbomb.cpp:25:27: error: ‘prev’ cannot be used as a function
25 | next = *prev(times.end());
| ^
waterbomb.cpp:26:31: error: ‘prev’ cannot be used as a function
26 | times.erase(prev(times.end()));
| ^