/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);
^