Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:8: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator>'
   if(a > max){max = a;ii = i;}
      ~~^~~~~
/in/foo.cc:11:21: error: overloaded function with no contextual type information
   if(a > max){max = a;ii = i;}
                     ^

信息

递交者
类型
自测
题目
P1048 A7-3 数组的极值下标函数
语言
C++
递交时间
2024-05-31 23:36:06
评测时间
2024-05-31 23:36:06
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes