/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:38:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
        for (i=1;i<=n;i++) d+=n*1.0/i;h=floor(d);
        ^~~
/in/foo.cc:38:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
        for (i=1;i<=n;i++) d+=n*1.0/i;h=floor(d);
                                      ^
/in/foo.cc:50:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
        for (k=1;k<=u;k++) x[k]=z[k];while (x[u]==0) u--;}
        ^~~
/in/foo.cc:50:37: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
        for (k=1;k<=u;k++) x[k]=z[k];while (x[u]==0) u--;}
                                     ^~~~~
/in/foo.cc:54:8: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
        for (i=1;i<=j;i++) printf("-");printf("\n");
        ^~~
/in/foo.cc:54:39: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
        for (i=1;i<=j;i++) printf("-");printf("\n");
                                       ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 2.316 MiB
#2 Accepted 3ms 2.25 MiB
#3 Accepted 3ms 2.5 MiB
#4 Accepted 4ms 2.5 MiB
#5 Accepted 15ms 6.25 MiB
#6 Accepted 20ms 6.125 MiB
#7 Accepted 37ms 7.0 MiB
#8 Accepted 41ms 7.125 MiB
#9 Accepted 58ms 7.75 MiB
#10 Accepted 62ms 7.957 MiB

信息

递交者
类型
递交
题目
P1266 搜集环盖
语言
C++
递交时间
2017-08-31 02:39:27
评测时间
2017-08-31 02:39:27
评测机
分数
100
总耗时
252ms
峰值内存
7.957 MiB