Skip to content

Commit 913d05c

Browse files
committed
105
1 parent b6baa3a commit 913d05c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base_yu/task105.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# best: 145(jailctf merger) / others: 148(4atj sisyphus luke Seek mukundan), 153(ox jam), 182(intgrah jimboko awu macaque sammyuri), 190(jacekw Potatoman nauti natte), 190(import itertools)
22
# ===================================================================== 145 =====================================================================
3-
p=lambda g,c=-31:(c-2)*g or c>0 and p([*zip(*[[v or (s[1:-1].count(1)>1 or i%(len(g)-1)<1)*2 for v in s]for i,s in enumerate(g)])],c+1)or[*zip(*p([*zip(*g[any(g[-1])-2::-1])],c+1))][::-1]+g[-1:]
3+
p=lambda g,c=-33:g*c or c>-2and p([*zip(*[[v or(s[1:-1].count(1)>1or i%~-len(g)<1)*2for v in s]for i,s in enumerate(g)])],c+1)or[*zip(*p([*zip(*g[any(g[-1])-2::-1])],c+1))][::-1]+g[-1:]
44

55
# def p(g,c=-31):
66
# if c==3:

0 commit comments

Comments
 (0)