def get_rank(scores):
    """
    Returns list of (index, value) of scores, sorted by decreasing order.
    The order is randomized in case of tie thanks to the key_tie_break function.
    """
    return sorted(enumerate(scores), key=lambda t: t[1], reverse=True)