记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:27:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  if(aa<bb)
  ^~
foo.cc:28:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   cout<<bb<<" ";1
                 ^
foo.cc:29:2: error: expected ';' before 'return'
  return 0;
  ^~~~~~
foo.cc:29:10: warning: statement has no effect [-Wunused-value]
  return 0;
          ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
递交
题目
A9-7 数组中所有极大值
比赛
2020苏青奥赛集训营(2021-3-7课后作业)
语言
C++
递交时间
2021-03-08 21:03:32
评测时间
2021-03-08 21:03:32
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes