Problem ballot
User thatlycheeoolongdrink
Submission Time 2024-03-18 14:17:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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