Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Counting Tiles by TovarischZhukov
def checkio(r,p=0):
"""count tiles"""
for i in range(4):
if i=((d/2+1)**2+(i+1)**2)**.5:
p=4*(i+1)*2;break
return [d**2+p, k]
Jan. 15, 2016