记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (k[i]>k[i+1])u+=1;p=i;
   ^~
/in/foo.cc:14:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (k[i]>k[i+1])u+=1;p=i;
                        ^
/in/foo.cc:12:10: warning: variable 'p' set but not used [-Wunused-but-set-variable]
  int u=0,p;
          ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 356.0 KiB

信息

递交者
类型
自测
题目
P1033 环形山丘
语言
C++
递交时间
2021-09-24 21:01:26
评测时间
2021-09-24 21:01:26
评测机
分数
0
总耗时
2ms
峰值内存
356.0 KiB