/in/foo.cc:81:2: error: stray '#' in program
}#include<iostream>
^
/in/foo.cc:81:3: error: 'include' does not name a type
}#include<iostream>
^~~~~~~
/in/foo.cc:89:19: error: redefinition of 'std::vector<long long int> n_ary'
vector<long long> n_ary;
^~~~~
/in/foo.cc:9:19: note: 'std::vector<long long int> n_ary' previously declared here
vector<long long> n_ary;
^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:91:5: error: redefinition of 'int main()'
int main()
^~~~
/in/foo.cc:11:5: note: 'int main()' previously defined here
int main()
^~~~
/in/foo.cc: In function 'int palindrome_plus(std::vector<long long int>&, int)':
/in/foo.cc:134:5: error: redefinition of 'int palindrome_plus(std::vector<long long int>&, int)'
int palindrome_plus(vector<long long> &d, int ary)
^~~~~~~~~~~~~~~
/in/foo.cc:54:5: note: 'int palindrome_plus(std::vector<long long int>&, int)' previously defined here
int palindrome_plus(vector<long long> &d, int ary)
^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int num_to_vector(int, std::vector<long long int>&, int)':
/in/foo.cc:149:5: error: redefinition of 'int num_to_vector(int, std::vector<long long int>&, int)'
int num_to_vector(int num, vector<long long> &d, int ary)
^~~~~~~~~~~~~
/in/foo.cc:69:5: note: 'int num_to_vector(int, std::vector<long long int>&, int)' previously defined here
int num_to_vector(int num, vector<long long> &d, int ary)
^~~~~~~~~~~~~