error: ‘INT_MAX’ was not declared in this scope
常量INT_MAX和INT_MIN定义在头文件limits中 所以添加头文件·#include<climits>
#include<climits>
error: 'INT_MAX' was not declared in this scope
原文:https://www.cnblogs.com/aoke2002/p/15270530.html