Sorted Record Lookup
scores is already sorted. Complete binary_search(target) so it returns the index of target by repeatedly halving the search range (do not use linear search), or -1 if it isn't present. Read one integer from input and print the result.
main.py
Loading editor…
Console
Run your code to see output here.