/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=2;i<=n;++i) c[i]=b[i-1];c[1]=b[n];
  ^~~
/in/foo.cc:18:32: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(i=2;i<=n;++i) c[i]=b[i-1];c[1]=b[n];
                                ^
/in/foo.cc:24:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(i=1;i<n;++i) c[i]=b[i-1];c[n]=b[1];
  ^~~
/in/foo.cc:24:31: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
  for(i=1;i<n;++i) c[i]=b[i-1];c[n]=b[1];
                               ^
/in/foo.cc:7:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k,l,n,maxx=-1;
        ^
/in/foo.cc:7:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,l,n,maxx=-1;
          ^
/in/foo.cc:7:12: warning: unused variable 'l' [-Wunused-variable]
  int i,j,k,l,n,maxx=-1;
            ^
# 状态 耗时 内存占用
#1 Wrong Answer 77ms 38.348 MiB
#2 Runtime Error 74ms 38.383 MiB
#3 Runtime Error 82ms 38.352 MiB
#4 Runtime Error 114ms 39.199 MiB
#5 Runtime Error 100ms 39.133 MiB
#6 Runtime Error 116ms 39.109 MiB
#7 Runtime Error 93ms 39.148 MiB
#8 Runtime Error 94ms 39.09 MiB
#9 Runtime Error 86ms 39.098 MiB
#10 Runtime Error 104ms 39.191 MiB

信息

递交者
类型
递交
题目
P1008 篝火晚会
语言
C++
递交时间
2019-03-08 14:14:06
评测时间
2019-03-08 14:14:06
评测机
分数
0
总耗时
944ms
峰值内存
39.199 MiB