encoder.cpp: In function 'void bfs(int)':
encoder.cpp:31:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < a[x].size(); ++i)
~~^~~~~~~~~~~~~
encoder.cpp: In function 'void encode(int, int, int, int*, int*)':
encoder.cpp:83:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < (10 - v.size()); ++k)
~~^~~~~~~~~~~~~~~~~
/tmp/ccYGgygh.o: In function `decode(int, int)':
encoder.cpp:(.text+0xc7): undefined reference to `decode_bit()'
encoder.cpp:(.text+0xd8): undefined reference to `decode_bit()'
encoder.cpp:(.text+0xfe): undefined reference to `hops(int, int, int)'
collect2: error: ld returned 1 exit status
/tmp/ccdWj5Ir.o: In function `main':
grader_decoder.c:(.text.startup+0xe6): undefined reference to `decode(int, int)'
collect2: error: ld returned 1 exit status