#include #include using namespace std; int binse[10] = { 4,4,5,7,8,10,20,22,23,24 }; int ans = 100; int bin_search(int start, int end, int target) { if (start > end) return 1; int mid = (start + end) / 2; if (binse[mid] == target) { ans = 0; return 0; } else if (binse[mid] > target) { bin_search(start, mid - 1, target); } else { bin_search(mid + 1, end, target); } return ans; } int main() { int ..