0_0_24172734_19861.cpp: In function 'int main()': 0_0_24172734_19861.cpp:64:49: error: cannot convert 'long long int*' to 'int*' for argument '2' to 'bool BinarySearch(int, int*, int, int)' if(BinarySearch(0,sum,len-1,temp)) ^