Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Bag of Santa Claus by UFO665
lstValues = []
def choose_good_gift(current_gift, gifts_in_bag, gift_number):
global lstValues
if gift_number == 1:
lstValues = []
if gift_number > gifts_in_bag / 2.72 and max([current_gift] + lstValues) == current_gift:
return True
lstValues.append(current_gift)
return False
Jan. 17, 2016