In addition to what was stated (why are you not using std::binary_search?), hopefully you're using std::sort to do this instead of writing the sorting code yourself


void...