BeOI 2022 - Complexity and Binary Search