Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for Safe Coasts by TovarischZhukov
# migrated from python 2.7
def find(r_map,checked,i,j):
if (i,j) not in checked:
checked.add((i,j))
if r_map[i][j]==".":
flag=False
for k in range(3):
for l in range(3):
posi=i-1+k
posj=j-1+l
print(posi, posj)
if 0<=posi
Feb. 18, 2016