import json


def load_times(filename="cvt_add_times.json"):
    """Loads the results from the given file."""
    with open(filename, "r") as file:
        data = json.load(file)
        return data["n_bins"], data["brute_force_t"], data["kd_tree_t"]