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

Compile Error

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