Binary Search algorithm with repetition of numbers

后端 未结 0 1522
夕颜
夕颜 2021-01-17 18:08

in c++, i have a problem with binary search algorithm. here is my code :

int main()
{
    int a[10] = { 3,5,9,11,12,19,20,25,26,30 };
    int beg = 0, end = 9         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题