记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (i = 1; i<q ; i++)cout << " "; cout << "*";
   ^~~
/in/foo.cc:9:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (i = 1; i<q ; i++)cout << " "; cout << "*";
                                      ^~~~
/in/foo.cc:10:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (j = 2*q-1; j <= 2*n-3; j++)cout << " "; if (q!=n)cout << "*";
   ^~~
/in/foo.cc:10:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (j = 2*q-1; j <= 2*n-3; j++)cout << " "; if (q!=n)cout << "*";
                                                ^~
/in/foo.cc:15:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (i = q; i < n-1; i++)cout << " "; cout << "*";
   ^~~
/in/foo.cc:15:41: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (i = q; i < n-1; i++)cout << " "; cout << "*";
                                         ^~~~
/in/foo.cc:16:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (j = 1; j <= 2 * q - 1; j++)cout << " "; cout << "*";
   ^~~
/in/foo.cc:16:48: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (j = 1; j <= 2 * q - 1; j++)cout << " "; cout << "*";
                                                ^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 372.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 4ms 356.0 KiB
#4 Accepted 5ms 336.0 KiB
#5 Accepted 4ms 372.0 KiB
#6 Accepted 4ms 344.0 KiB
#7 Accepted 3ms 340.0 KiB
#8 Accepted 3ms 348.0 KiB
#9 Accepted 3ms 364.0 KiB
#10 Accepted 3ms 340.0 KiB

信息

递交者
类型
递交
题目
艾克思
语言
C++
递交时间
2018-10-14 13:56:19
评测时间
2018-10-14 13:56:19
评测机
分数
100
总耗时
42ms
峰值内存
384.0 KiB