Problem ballot
User 583116UB
Submission Time 2024-07-06 11:19:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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