0_0_28627151_22471.cpp: In function 'int main()': 0_0_28627151_22471.cpp:53:35: error: cannot resolve overloaded function 'distance' based on conversion to type 'll {aka long long int}' else unit(a,b,distance); ^