Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:9:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    9 |  {for(j=1;j<=n-i;j++)
      |   ^~~
foo.cc:10:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   10 |  cout<<" ";cout<<" ";
      |            ^~~~
foo.cc:17:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
   17 |  {for(j=1;j<=i;j++)
      |   ^~~
foo.cc:18:12: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
   18 |  cout<<" ";cout<<" ";
      |            ^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1,12c1,11 < * < *** 2ms 768.0 KiB
#2 Wrong Answer 1,14c1,13 < * < * 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1051 *组成的图形(3)
语言
C++
递交时间
2024-03-29 16:32:38
评测时间
2024-03-29 16:32:38
评测机
分数
0
总耗时
5ms
峰值内存
768.0 KiB