advisor.cpp:2:21: warning: extra tokens at end of #include directive
#include "advisor.h"#include <vector>
^
advisor.cpp:9:1: error: 'vector' does not name a type; did you mean 'qecvt_r'?
vector<pi> nexts;
^~~~~~
qecvt_r
advisor.cpp: In function 'int getnxt(int, int)':
advisor.cpp:14:23: error: 'nexts' was not declared in this scope
auto t = upper_bound(nexts.begin(), nexts.end(), pi(val, time));
^~~~~
advisor.cpp: In function 'void ComputeAdvice(int*, int, int, int)':
advisor.cpp:21:3: error: 'nexts' was not declared in this scope
nexts.push_back(pi(C[i], i));
^~~~~
advisor.cpp:27:7: error: 'nexts' was not declared in this scope
sort(nexts.begin(), nexts.end());
^~~~~
assistant.cpp: In function 'void Assist(unsigned char*, int, int, int)':
assistant.cpp:10:7: warning: unused variable 'req' [-Wunused-variable]
int req = GetRequest();
^~~