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

Compile Error

ballot.cpp: In function ‘int main()’:
ballot.cpp:27:23: error: ‘INT_MAX’ was not declared in this scope
27 | 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 |