/ WHOJ /

记录详情

Accepted

foo.cc: In function 'bool work1()':
foo.cc:12:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   12 |     for(int i=1;i<=n;i++)
      |     ^~~
foo.cc:16:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   16 |      return 1;
      |      ^~~~~~
foo.cc: In function 'bool work2()':
foo.cc:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   25 |     for(int i=1;i<=n;i++)
      |     ^~~
foo.cc:29:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   29 |      return 1;
      |      ^~~~~~
foo.cc: In function 'bool work5()':
foo.cc:61:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   61 |      for(int j=1;j<=n;j++)
      |      ^~~
foo.cc:63:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   63 |       if(work1())
      |       ^~
foo.cc:66:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   66 |      for(int j=1;j<=n;j++)
      |      ^~~
foo.cc:68:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   68 |       if(work2())
      |       ^~
foo.cc:71:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   71 |      for(int j=1;j<=n;j++)
      |      ^~~
foo.cc:73:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   73 |       if(work3())
      |       ^~
正在同步测试数据,请稍后
Found 7 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB
#6 Accepted 1ms 384.0 KiB
#7 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1351 [USACO1.2] 方块转换 Transformations
题目数据
下载
语言
C++
递交时间
2022-07-20 16:38:15
评测时间
2022-07-20 16:38:15
评测机
分数
100
总耗时
13ms
峰值内存
384.0 KiB