Wrong Answer
foo.cc: In function 'int main()':
foo.cc:14:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (k[i]>k[i+1])u+=1;p=i;
   ^~
foo.cc:14:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   if (k[i]>k[i+1])u+=1;p=i;
                        ^
foo.cc:16:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if (k[0]>k[p])u-=1;
           ~~~^
  [Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1033 环形山丘
- 语言
- C++
- 递交时间
- 2021-09-24 21:00:28
- 评测时间
- 2021-09-24 21:01:01
- 评测机
- 分数
- 0
- 总耗时
- 1ms
- 峰值内存
- 388.0 KiB