Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Safe Coasts by ciel
D=(
(-1,0),
(1,0),
(0,-1),
(0,1),
)
def finish_map(_m):
m=list(map(list,_m))
#mark coast
for y in range(len(m)):
for x in range(len(m[y])):
if m[y][x]=='.' and any(0<=y+a
Aug. 29, 2014
Comments: