Parallel binary search - Preparation to IOI Part 5