advisor.cpp: In function 'void ComputeAdvice(int*, int, int, int)':
advisor.cpp:16:13: warning: unused variable 'p' [-Wunused-variable]
int u=K,p;
^
advisor.cpp:17:13: warning: unused variable 'sz' [-Wunused-variable]
int t=0,sz=0,on;
^~
advisor.cpp:17:18: warning: 'on' may be used uninitialized in this function [-Wmaybe-uninitialized]
int t=0,sz=0,on;
^~
assistant.cpp: In function 'void Assist(unsigned char*, int, int, int)':
assistant.cpp:13:25: error: 'st' was not declared in this scope
for(int i=0;i<K;i++)st[i]=i,ch[i]=1;
^~
assistant.cpp:24:17: error: 'st' was not declared in this scope
PutBack(st[r]);
^~