bubblesort2.cpp: In function 'std::vector<long int> countScans(std::vector<long int>, std::vector<long int>, std::vector<long int>)':
bubblesort2.cpp:16:6: warning: unused variable 'n' [-Wunused-variable]
16 | int n=v.size();
| ^
/usr/bin/ld: /tmp/ccv69W7u.o: in function `main':
grader.cpp:(.text.startup+0x181): undefined reference to `countScans(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status