foo.c: In function 'main':
foo.c:11:30: error: 'INT_MAX' undeclared (first use in this function)
11 | unsigned int nextPivot = INT_MAX, maxPivot = 0, count = 0;
| ^~~~~~~
foo.c:5:1: note: 'INT_MAX' is defined in header '<limits.h>'; did you forget to '#include <limits.h>'?
4 | #include <string.h>
+++ |+#include <limits.h>
5 | #define max(a, b) a > b ? a : b
foo.c:11:30: note: each undeclared identifier is reported only once for each function it appears in
11 | unsigned int nextPivot = INT_MAX, maxPivot = 0, count = 0;
| ^~~~~~~
[Hydro](https://hydro.ac)提供评测服务