Runtime Error

foo.cc: In function 'int main()':
foo.cc:12:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   12 |   for(int j=1;j<i;i++)
      |   ^~~
foo.cc:18:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   18 |    if(!flag)k++;
      |    ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 5ms 384.0 KiB
#2 Runtime Error Segmentation fault 6ms 384.0 KiB
#3 Runtime Error Segmentation fault 3ms 384.0 KiB
#4 Runtime Error Segmentation fault 3ms 384.0 KiB
#5 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1054 A10-3 数组的去重
比赛
2022.5复学庆祝赛(初一)
语言
C++
递交时间
2022-05-14 10:02:22
评测时间
2022-05-14 10:02:22
评测机
分数
0
总耗时
21ms
峰值内存
384.0 KiB