/ 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 1ms 584.0 KiB
#2 Runtime Error 1ms 584.0 KiB
#3 Runtime Error 2ms 712.0 KiB
#4 Runtime Error 7ms 576.0 KiB
#5 Runtime Error 7ms 532.0 KiB
#6 Runtime Error 7ms 576.0 KiB
#7 Runtime Error 7ms 580.0 KiB
#8 Runtime Error 7ms 572.0 KiB
#9 Runtime Error 7ms 568.0 KiB
#10 Runtime Error 6ms 324.0 KiB

信息

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