cf 262 div 2- C - binary search, never forget bsearch