advisor.cpp: In function 'void ComputeAdvice(std::vector<int>, int, int, int)':
advisor.cpp:45:22: warning: 'digits' may be used uninitialized in this function [-Wmaybe-uninitialized]
45 | for (int j=digits-1; j>=0; j--){
| ^
/usr/bin/ld: /tmp/ccFFKxvY.o: in function `main':
advisor_grader.cpp:(.text.startup+0xe6): undefined reference to `ComputeAdvice(int*, int, int, int)'
collect2: error: ld returned 1 exit status
assistant.cpp: In function 'void Assist(std::vector<unsigned char>, int, int, int)':
assistant.cpp:33:30: warning: 'digits' may be used uninitialized in this function [-Wmaybe-uninitialized]
33 | if (A[j+count*digits]=='1') remov+=(1<<(digits-j-1));
| ~~~~~^~~~~~~
/usr/bin/ld: /tmp/cc9E2UhM.o: in function `main':
assistant_grader.cpp:(.text.startup+0x21e): undefined reference to `Assist(unsigned char*, int, int, int)'
collect2: error: ld returned 1 exit status