advisor.cpp: In function 'void ComputeAdvice(int*, int, int, int)':
advisor.cpp:37:21: error: 'WriteAdvice' was not declared in this scope
for(i=0;i<K+N;i++){WriteAdvice(kta[i]);}
^~~~~~~~~~~
advisor.cpp:37:21: note: suggested alternative: 'ComputeAdvice'
for(i=0;i<K+N;i++){WriteAdvice(kta[i]);}
^~~~~~~~~~~
ComputeAdvice
advisor.cpp:14:8: warning: unused variable 'j' [-Wunused-variable]
int i,j;
^
advisor.cpp: In function 'void Assist(unsigned char*, int, int, int)':
advisor.cpp:45:11: error: 'GetRequest' was not declared in this scope
int req=GetRequest();
^~~~~~~~~~
advisor.cpp:46:17: error: 'PutBack' was not declared in this scope
if(!aru[req]){PutBack(iran.back());iran.pob();}
^~~~~~~
/tmp/ccssj1D4.o: In function `main':
assistant_grader.cpp:(.text.startup+0x1ed): undefined reference to `Assist(unsigned char*, int, int, int)'
collect2: error: ld returned 1 exit status