bobek.cpp: In function 'int main()':
bobek.cpp:53:13: error: invalid initialization of reference of type 'std::vector<long long int>&' from expression of type 'std::vector<int>'
53 | compute(a);
| ^
bobek.cpp:9:39: note: in passing argument 1 of 'void compute(std::vector<long long int>&)'
9 | void compute(std::vector <long long>& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~^
bobek.cpp:54:13: error: invalid initialization of reference of type 'std::vector<long long int>&' from expression of type 'std::vector<int>'
54 | compute(b);
| ^
bobek.cpp:9:39: note: in passing argument 1 of 'void compute(std::vector<long long int>&)'
9 | void compute(std::vector <long long>& v) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~^
bobek.cpp:59:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int i = 0, j = b.size() - 1; i < a.size(); i ++) {
| ~~^~~~~~~~~~