/ XMU_ACM /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int k=0;k<d/2;k++) printf(" ");printf("*");for(int k=0;k<d/2;k++) printf(" ");printf("\n");
         ^~~
/in/foo.cc:16:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for(int k=0;k<d/2;k++) printf(" ");printf("*");for(int k=0;k<d/2;k++) printf(" ");printf("\n");
                                            ^~~~~~
/in/foo.cc:19:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
             for(int j=0;j<d;j++) if(j==i||j==d/2||j==d-i-1) printf("*"); else printf(" ");printf("\n");
             ^~~
/in/foo.cc:19:91: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             for(int j=0;j<d;j++) if(j==i||j==d/2||j==d-i-1) printf("*"); else printf(" ");printf("\n");
                                                                                           ^~~~~~
/in/foo.cc:21:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int t=0;t<d;t++) printf("*");printf("\n");
         ^~~
/in/foo.cc:21:42: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for(int t=0;t<d;t++) printf("*");printf("\n");
                                          ^~~~~~
/in/foo.cc:24:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
             for(int l=0;l<d;l++) if(l==d/2-s||l==d/2+s||l==d/2) printf("*"); else printf(" ");printf("\n");
             ^~~
/in/foo.cc:24:95: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             for(int l=0;l<d;l++) if(l==d/2-s||l==d/2+s||l==d/2) printf("*"); else printf(" ");printf("\n");
                                                                                               ^~~~~~
/in/foo.cc:26:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int k=0;k<d/2;k++) printf(" ");printf("*");for(int k=0;k<d/2;k++) printf(" ");printf("\n");
         ^~~
/in/foo.cc:26:44: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         for(int k=0;k<d/2;k++) printf(" ");printf("*");for(int k=0;k<d/2;k++) printf(" ");printf("\n");
                                            ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 208.0 KiB
#2 Wrong Answer 1ms 204.0 KiB

信息

递交者
类型
自测
题目
P1012 辉夜想要看烟花
语言
C++
递交时间
2019-04-21 13:22:38
评测时间
2019-04-21 13:22:38
评测机
分数
0
总耗时
3ms
峰值内存
208.0 KiB