/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:69:9: error: redeclaration of 'Vector v1'
  Vector v1 = a[tmp] - a[get(n - 1)];
         ^~
/in/foo.cc:64:9: note: 'Vector v1' previously declared here
  Vector v1 = a[tmp] - a[get(n - 2)];
         ^~
/in/foo.cc:70:9: error: redeclaration of 'Vector v2'
  Vector v2 = a[tmp] - a[get(n)];
         ^~
/in/foo.cc:65:9: note: 'Vector v2' previously declared here
  Vector v2 = a[tmp] - a[get(n - 1)];
         ^~
/in/foo.cc:72:21: warning: too many arguments for format [-Wformat-extra-args]
  printf("lld\n", ans);
                     ^

信息

递交者
类型
自测
题目
P1000 A+B Problem
语言
C++
递交时间
2018-04-11 17:25:51
评测时间
2018-04-11 17:25:51
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes