gondola.cpp: In function 'int replacement(int, int*, int*)':
gondola.cpp:37:19: warning: unused variable 'mx' [-Wunused-variable]
37 | int mn=INF,idx=0,mx=-1;
| ^~
/usr/bin/ld: /tmp/ccals0sV.o: in function `main':
grader.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccRT3HuX.o:gondola.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccals0sV.o:(.bss+0xf4260): multiple definition of `gondolaSequence'; /tmp/ccRT3HuX.o:(.bss+0xf4260): first defined here
/usr/bin/ld: /tmp/ccals0sV.o:(.bss+0x0): multiple definition of `replacementSequence'; /tmp/ccRT3HuX.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status