speedrun.cpp: In function 'int main()':
speedrun.cpp:80:20: warning: comparison of integer expressions of different signedness: 'std::set<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
80 | if (viz.size() < N) {
| ~~~~~~~~~~~^~~
/usr/bin/ld: /tmp/ccDVrRgi.o: in function `setHintLen(int)':
stub.cpp:(.text+0xc0): multiple definition of `setHintLen(int)'; /tmp/ccGbXI3g.o:speedrun.cpp:(.text+0x420): first defined here
/usr/bin/ld: /tmp/ccDVrRgi.o: in function `setHint(int, int, bool)':
stub.cpp:(.text+0x150): multiple definition of `setHint(int, int, bool)'; /tmp/ccGbXI3g.o:speedrun.cpp:(.text+0x660): first defined here
/usr/bin/ld: /tmp/ccDVrRgi.o: in function `getLength()':
stub.cpp:(.text+0x200): multiple definition of `getLength()'; /tmp/ccGbXI3g.o:speedrun.cpp:(.text+0x4d0): first defined here
/usr/bin/ld: /tmp/ccDVrRgi.o: in function `getHint(int)':
stub.cpp:(.text+0x210): multiple definition of `getHint(int)'; /tmp/ccGbXI3g.o:speedrun.cpp:(.text+0x850): first defined here
/usr/bin/ld: /tmp/ccDVrRgi.o: in function `goTo(int)':
stub.cpp:(.text+0x420): multiple definition of `goTo(int)'; /tmp/ccGbXI3g.o:speedrun.cpp:(.text+0xa60): first defined here
/usr/bin/ld: /tmp/ccDVrRgi.o: in function `main':
stub.cpp:(.text.startup+0x0): multiple definition of `main'; /tmp/ccGbXI3g.o:speedrun.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccGbXI3g.o: in function `main':
speedrun.cpp:(.text.startup+0x318): undefined reference to `assignHints(int, int, int*, int*)'
/usr/bin/ld: speedrun.cpp:(.text.startup+0x361): undefined reference to `speedrun(int, int, int)'
/usr/bin/ld: /tmp/ccDVrRgi.o: in function `main':
stub.cpp:(.text.startup+0x81): undefined reference to `speedrun(int, int, int)'
/usr/bin/ld: stub.cpp:(.text.startup+0x1d1): undefined reference to `assignHints(int, int, int*, int*)'
collect2: error: ld returned 1 exit status