advisor.cpp: In function 'void ComputeAdvice(int*, int, int, int)':
advisor.cpp:40:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
40 | for(int i = 0; i < N + K; i++) WriteAdvice(f[i]), cout << f[i]; cout << "++" << endl;
| ^~~
advisor.cpp:40:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
40 | for(int i = 0; i < N + K; i++) WriteAdvice(f[i]), cout << f[i]; cout << "++" << endl;
| ^~~~
assistant.cpp: In function 'void ComputeAdvice(int*, int, int, int)':
assistant.cpp:40:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
40 | for(int i = 0; i < N + K; i++) WriteAdvice(f[i]), cout << f[i]; cout << "++" << endl;
| ^~~
assistant.cpp:40:69: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
40 | for(int i = 0; i < N + K; i++) WriteAdvice(f[i]), cout << f[i]; cout << "++" << endl;
| ^~~~
/usr/bin/ld: /tmp/ccnFCzXZ.o: in function `ComputeAdvice(int*, int, int, int)':
assistant.cpp:(.text+0xa0c): undefined reference to `WriteAdvice(unsigned char)'
/usr/bin/ld: /tmp/ccpF9rzZ.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