encoder.cpp: In function 'int main()':
encoder.cpp:21:34: warning: 'Y' may be used uninitialized in this function [-Wmaybe-uninitialized]
int X=sts[x], Y=sts[Y];
^
/tmp/ccTAc3kf.o: In function `main':
grader_encode.c:(.text.startup+0x0): multiple definition of `main'
/tmp/ccRDMjkw.o:encoder.cpp:(.text.startup+0x0): first defined here
/tmp/ccTAc3kf.o: In function `main':
grader_encode.c:(.text.startup+0x10a): undefined reference to `encode(int, int, int)'
collect2: error: ld returned 1 exit status
/tmp/ccrADQ2c.o: In function `main':
grader_decode.c:(.text.startup+0x19f): undefined reference to `decode(int, int, int)'
collect2: error: ld returned 1 exit status