记录详情

Compile Error

/in/foo.cc: In function 'int FindiMinPos(int*, int)':
/in/foo.cc:7:12: error: 'INT_MAX' was not declared in this scope
  int min = INT_MAX,minIndex=0;
            ^~~~~~~
/in/foo.cc:11:18: error: 'minIndex' was not declared in this scope
    min=arr[i] ;  minIndex = i;
                  ^~~~~~~~
/in/foo.cc:13:11: error: 'minIndex' was not declared in this scope
    return minIndex;
           ^~~~~~~~

信息

递交者
类型
自测
题目
A9-2 数组中最小正数的下标
语言
C++
递交时间
2024-11-19 08:16:12
评测时间
2024-11-19 08:16:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes