记录详情

Runtime Error

foo.cc: In function 'void reset(int, int (*)[5])':
foo.cc:38:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=0;i<16;i++)
  ^~~
foo.cc:40:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   int j=15;
   ^~~
foo.cc: In function 'void bfs()':
foo.cc:58:9: warning: unused variable 'cons' [-Wunused-variable]
     int cons=state_init;
         ^~~~
foo.cc: In function 'int main()':
foo.cc:140:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int j=1;j<5;j++)
      ^~~
foo.cc:142:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
       getchar();
       ^~~~~~~
foo.cc:144:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(int j=1;j<5;j++)
      ^~~
foo.cc:146:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
       bfs();
       ^~~
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 2ms 656.0 KiB

信息

递交者
类型
自测
题目
P1171 CoVH之再破难关
语言
C++
递交时间
2021-01-28 19:03:25
评测时间
2021-01-28 19:03:25
评测机
分数
0
总耗时
2ms
峰值内存
656.0 KiB