encoder.cpp: In function 'void A()':
encoder.cpp:8:11: warning: unsigned conversion from 'long int' to 'unsigned int' changes value from '4382932498' to '87965202' [-Woverflow]
8 | srand(4382932498);
| ^~~~~~~~~~
encoder.cpp: In function 'void B()':
encoder.cpp:34:11: warning: unsigned conversion from 'long int' to 'unsigned int' changes value from '4382932498' to '87965202' [-Woverflow]
34 | srand(4382932498);
| ^~~~~~~~~~
/usr/bin/ld: /tmp/ccdkgkHR.o: in function `main':
grader_encode.c:(.text.startup+0x0): multiple definition of `main'; /tmp/ccp4MIgP.o:encoder.cpp:(.text.startup+0x0): first defined here
/usr/bin/ld: /tmp/ccdkgkHR.o: in function `main':
grader_encode.c:(.text.startup+0x129): undefined reference to `encode(int, int, int)'
collect2: error: ld returned 1 exit status
/usr/bin/ld: /tmp/ccmZZ2Cz.o: in function `main':
grader_decode.c:(.text.startup+0x22f): undefined reference to `decode(int, int, int)'
collect2: error: ld returned 1 exit status