Problem discharging
User rysneo
Submission Time 2025-03-20 20:23:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

discharging.cpp: In function ‘int main()’:
discharging.cpp:15:26: error: ‘INT_MAX’ was not declared in this scope
15 | int minWaitingTime = INT_MAX;
| ^~~~~~~
discharging.cpp:4:1: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
3 | #include <algorithm>
+++ |+#include <climits>
4 |