记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:15:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int j=0;j<n-1;j++)
  ^~~
foo.cc:21:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   if(a[j+1]>a[j+2])
   ^~
foo.cc:21:8: error: 'j' was not declared in this scope
   if(a[j+1]>a[j+2])
        ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1033 环形山丘
比赛
周末测试2
语言
C++
递交时间
2021-09-24 20:51:38
评测时间
2021-09-24 20:51:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes