ricehub.cpp: In function 'int main()':
ricehub.cpp:13:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | scanf("%lld%lld%lld",&n,&m,&v);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
ricehub.cpp:16:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | scanf("%lld",&a[i]);
| ~~~~~^~~~~~~~~~~~~~
/usr/bin/ld: /tmp/ccwAOvoP.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccQRGKGO.o:ricehub.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccwAOvoP.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