encoder.cpp: In function 'void encode(int, int, int, int*, int*)':
encoder.cpp:27:13: error: expected ';' before 'for'
for(int i = 0; i < v[nod].size(); ++i)
^~~
encoder.cpp:27:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[nod].size(); ++i)
~~^~~~~~~~~~~~~~~
encoder.cpp:27:30: warning: value computed is not used [-Wunused-value]
encoder.cpp:27:50: error: expected ';' before ')' token
for(int i = 0; i < v[nod].size(); ++i)
^
/tmp/ccE2SHFh.o: In function `main':
grader_decoder.c:(.text.startup+0xe6): undefined reference to `decode(int, int)'
collect2: error: ld returned 1 exit status