/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void out(int*)':
/in/foo.cc:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=1;i<=7;i++)printf("%d ",q[i]);printf("\n");
     ^~~
/in/foo.cc:15:45: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(int i=1;i<=7;i++)printf("%d ",q[i]);printf("\n");
                                             ^~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:53:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int j=1;j<=n;j++)
         ^~~
/in/foo.cc:55:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             swap(p,q);
             ^~~~
/in/foo.cc:68:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int j=1;j<=n;j++)
         ^~~
/in/foo.cc:70:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             swap(p,q);
             ^~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 17ms 512.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 3ms 492.0 KiB
#5 Accepted 5ms 512.0 KiB
#6 Accepted 11ms 508.0 KiB
#7 Accepted 7ms 488.0 KiB
#8 Accepted 6ms 384.0 KiB
#9 Accepted 62ms 600.0 KiB
#10 Accepted 85ms 468.0 KiB

信息

递交者
类型
递交
题目
P1049 送给圣诞夜的礼品
语言
C++
递交时间
2017-11-04 00:37:16
评测时间
2017-11-04 00:37:16
评测机
分数
100
总耗时
209ms
峰值内存
600.0 KiB