/usr/bin/ld: /tmp/ccdUxaRV.o: in function `orderCoins()':
scales.cpp:(.text+0xd0): undefined reference to `answer(std::vector<int, std::allocator<int> >)'
/usr/bin/ld: /tmp/ccdUxaRV.o: in function `void s<__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > > >(__gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >)':
scales.cpp:(.text._Z1sIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_EvT_T0_[_Z1sIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_EvT_T0_]+0x65): undefined reference to `getLightest(int, int, int)'
/usr/bin/ld: scales.cpp:(.text._Z1sIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_EvT_T0_[_Z1sIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_EvT_T0_]+0x76): undefined reference to `getMedian(int, int, int)'
/usr/bin/ld: scales.cpp:(.text._Z1sIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_EvT_T0_[_Z1sIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_EvT_T0_]+0x131): undefined reference to `getNextLightest(int, int, int, int)'
/usr/bin/ld: scales.cpp:(.text._Z1sIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_EvT_T0_[_Z1sIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEES6_EvT_T0_]+0x2da): undefined reference to `getHeaviest(int, int, int)'
/usr/bin/ld: /tmp/ccUZNq7b.o: in function `main':
grader.c:(.text.startup+0x83): undefined reference to `init'
/usr/bin/ld: grader.c:(.text.startup+0x101): undefined reference to `orderCoins'
collect2: error: ld returned 1 exit status