Main.cc: In function 'int main()': Main.cc:10:18: error: 'INT_MAX' was not declared in this scope int minVal = INT_MAX; // 初始化最小值为最大整数 ^ Main.cc:11:18: error: 'INT_MIN' was not declared in this scope int maxVal = INT_MIN; // 初始化最大值为最小整数 ^