记录详情

Compile Error

/in/foo.cc: In function 'int FindiSecondMax(int, int*)':
/in/foo.cc:6:6: warning: unused variable 'i' [-Wunused-variable]
  int i,j,p,k=0,second,temp;
      ^
/in/foo.cc:6:16: warning: variable 'second' set but not used [-Wunused-but-set-variable]
  int i,j,p,k=0,second,temp;
                ^~~~~~
/in/foo.cc: At global scope:
/in/foo.cc:35:22: error: '_TCHAR' has not been declared
 int _tmain(int argc, _TCHAR* argv[])
                      ^~~~~~
/in/foo.cc: In function 'int _tmain(int, int**)':
/in/foo.cc:48:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^

信息

递交者
类型
自测
题目
A9-4 数组中第二大的数
语言
C++
递交时间
2019-03-10 19:53:55
评测时间
2019-03-10 19:53:55
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes