encoder.cpp: In function 'void decode(int, int)':
encoder.cpp:36:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(j < b.size()){
| ~~^~~~~~~~~~
encoder.cpp:64:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | while(j < bb.size()){
| ~~^~~~~~~~~~~
/usr/bin/ld: /tmp/cc6Qy4JG.o: in function `decode(int, int)':
encoder.cpp:(.text+0x171): undefined reference to `decode_bit()'
/usr/bin/ld: encoder.cpp:(.text+0x2b3): undefined reference to `hops(int, int, int)'
/usr/bin/ld: encoder.cpp:(.text+0x3af): undefined reference to `decode_bit()'
/usr/bin/ld: encoder.cpp:(.text+0x3b8): undefined reference to `decode_bit()'
/usr/bin/ld: encoder.cpp:(.text+0x5bb): undefined reference to `hops(int, int, int)'
/usr/bin/ld: /tmp/ccutTBrD.o: in function `main':
grader_encoder.c:(.text.startup+0x122): undefined reference to `encode(int, int, int, int*, int*)'
collect2: error: ld returned 1 exit status
decoder.cpp: In function 'void decode(int, int)':
decoder.cpp:36:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | while(j < b.size()){
| ~~^~~~~~~~~~
decoder.cpp:64:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | while(j < bb.size()){
| ~~^~~~~~~~~~~