ricehub.cpp: In function 'int besthub(int, int, int*, long long int)':
ricehub.cpp:18:20: error: request for member 'begin' in 'diferencias', which is of non-class type 'long long int [R]'
18 | sort(diferencias.begin(), diferencias.end());
| ^~~~~
ricehub.cpp:18:41: error: request for member 'end' in 'diferencias', which is of non-class type 'long long int [R]'
18 | sort(diferencias.begin(), diferencias.end());
| ^~~
ricehub.cpp:19:29: error: request for member 'size' in 'diferencias', which is of non-class type 'long long int [R]'
19 | for(int k=0;k<diferencias.size();k++){
| ^~~~