Skip to content

Commit 4bef8a2

Browse files
authored
349 -1b
1 parent b78f575 commit 4bef8a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

solutions/task349.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
e=enumerate;p=lambda g:[[v[j]or any((l:=(m:=W%2*-~m)//2)+1>I-i>~l<J-j<l*3for I,V in e(g)if(m:=1)for J,W in e(V))*3|any(w[:i])for j,w in e(zip(*g))]for i,v in e(g)]
1+
e=enumerate;p=lambda g:[[v[j]or any((l:=(m:=W%2*-~m)//2)>=I-i>~l<J-j<l*3for I,V in e(g)if(m:=1)for J,W in e(V))*3|any(w[:i])for j,w in e(zip(*g))]for i,v in e(g)]
22
# ----------------------------------------------------------------
3-
# theoreticalsyntaxgolfers
3+
# post-competition-diamond, base: theoreticalsyntaxgolfers

0 commit comments

Comments
 (0)