space.cpp: In function 'int main()':
space.cpp:46:6: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat]
for(auto &i : v) printf("%d ", i);
^
space.cpp:46:12: error: ISO C++ forbids declaration of 'i' with no type [-fpermissive]
for(auto &i : v) printf("%d ", i);
^
space.cpp:46:16: warning: range-based 'for' loops only available with -std=c++11 or -std=gnu++11
for(auto &i : v) printf("%d ", i);
^
space.cpp:18:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
space.cpp:20:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld %lld",&a[i],&b[i],&c[i]);
^