记录详情

Runtime Error

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

信息

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