ricehub.cpp: In function 'int besthub(int, int, int*, long long int)':
ricehub.cpp:36:26: warning: 'disright' may be used uninitialized in this function [-Wmaybe-uninitialized]
36 | if (disright + curcost <= B)
| ~~~~~~~~~^~~~~~~~~
ricehub.cpp:26:25: warning: 'disleft' may be used uninitialized in this function [-Wmaybe-uninitialized]
26 | if (disleft + curcost <= B)
| ~~~~~~~~^~~~~~~~~
/usr/bin/ld: /tmp/ccYAwsRX.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/cciE8ApT.o:ricehub.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status