/ Vijos /

记录详情

Compile Error

foo.cpp: In function 'double weight()':
foo.cpp:34:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k;
          ^
foo.cpp: In function 'void build(int, int, int&)':
foo.cpp:66:6: warning: unused variable 'i' [-Wunused-variable]
  int i,j,k,mid=(l+r)>>1;
      ^
foo.cpp:66:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k,mid=(l+r)>>1;
        ^
foo.cpp:66:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,mid=(l+r)>>1;
          ^
foo.cpp: In function 'void Spilt(int, int, int&, int&)':
foo.cpp:78:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k;
          ^
foo.cpp: In function 'int Merge(int, int)':
foo.cpp:96:6: warning: unused variable 'k' [-Wunused-variable]
  int k;
      ^
foo.cpp: In function 'void init()':
foo.cpp:117:24: error: 'b' was not declared in this scope
  rep(i,1,n)a[i]=read(),b[i]=++tot;
                        ^
foo.cpp:115:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k;
        ^
foo.cpp:115:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k;
          ^
foo.cpp: In function 'void work()':
foo.cpp:122:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k,p,t,c;
        ^
foo.cpp:122:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,p,t,c;
          ^

信息

递交者
类型
递交
题目
P1835 维护数列
语言
C++
递交时间
2015-12-16 16:35:37
评测时间
2015-12-16 16:35:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes