Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
1-liner: Au solution in Creative category for Golden Pyramid by przemyslaw.daniel
count_gold=f=lambda p, x=0: (p[0][x]+max(f(p[1:], x), f(p[1:], x+1))) if p else 0
May 16, 2017
Comments: