ricehub.cpp: In function 'bool check(int, std::vector<long long int>&, std::vector<int>&, int)':
ricehub.cpp:10:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | for(int i = mid; i < psum.size(); i++){
| ~~^~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccbOgZKT.o: in function `main':
grader.cpp:(.text.startup+0xae): undefined reference to `besthub(int, int, int*, long long)'
collect2: error: ld returned 1 exit status