Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Feed Pigeons by kurosawa4434
def checkio(number):
feeds, minutes, birds = number, 1, 1
while 1:
feeds -= birds
minutes += 1
if birds + minutes > feeds:
return max(birds, feeds)
birds += minutes
July 15, 2016