/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (int j=1; j<=c[0]; j++) c[j]=0;c[0]=0;
   ^~~
/in/foo.cc:24:38: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for (int j=1; j<=c[0]; j++) c[j]=0;c[0]=0;
                                      ^
/in/foo.cc:29:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (int j=1; j<=b[0]; j++) 
   ^~~
/in/foo.cc:30:14: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    a[j]=b[j];a[0]=b[0];
              ^
/in/foo.cc:31:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for (int j=1; j<=c[0]; j++) 
   ^~~
/in/foo.cc:32:14: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    b[j]=c[j];b[0]=c[0];
              ^
/in/foo.cc:34:45: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  for (int i=c[0]; i>0; i--) printf("%d",c[i]);
                                             ^
# 状态 耗时 内存占用
#1 Accepted 3ms 360.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 3ms 376.0 KiB
#4 Accepted 3ms 384.0 KiB
#5 Accepted 2ms 332.0 KiB
#6 Accepted 3ms 368.0 KiB
#7 Accepted 4ms 344.0 KiB
#8 Accepted 7ms 372.0 KiB
#9 Accepted 5ms 368.0 KiB
#10 Accepted 8ms 368.0 KiB

信息

递交者
类型
递交
题目
P1492 宁静与九连环
语言
C++
递交时间
2018-05-23 21:19:00
评测时间
2018-05-23 21:19:00
评测机
分数
100
总耗时
44ms
峰值内存
384.0 KiB