Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Symmetry solution in Clear category for Counting Tiles by veky
def checkio(radius):
ran,solid,total=range(int(radius)+1),0,0
for x in ran:
for y in ran:
solid+=abs(x+y*1j+1+1j)<=radius
total+=abs(x+y*1j)
June 1, 2013
Comments: