ricehub.cpp:52:1: warning: "/*" within comment [-Wcomment]
/*bool meh;
ricehub.cpp: In function 'int besthub(int, int, int*, long long int)':
ricehub.cpp:72:19: error: request for member 'size' in 'X', which is of non-class type 'int*'
for(int j=0;j<X.size();j++){
^~~~
ricehub.cpp:73:8: warning: unused variable 'dif' [-Wunused-variable]
int dif=0;
^~~
ricehub.cpp:79:4: error: 'dif' was not declared in this scope
dif = abs(i-X[j]);
^~~
ricehub.cpp:79:4: note: suggested alternative: 'div'
dif = abs(i-X[j]);
^~~
div
ricehub.cpp:79:18: error: 'j' was not declared in this scope
dif = abs(i-X[j]);
^
ricehub.cpp:82:20: error: request for member 'size' in 'X', which is of non-class type 'int*'
for(int k=0;k<X.size();k++){
^~~~
ricehub.cpp:83:17: error: 'V' was not declared in this scope
if(suma_d + V[j] <= B){
^