We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b78f575 commit 4bef8a2Copy full SHA for 4bef8a2
1 file changed
solutions/task349.py
@@ -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)]
+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)]
2
# ----------------------------------------------------------------
3
-# theoreticalsyntaxgolfers
+# post-competition-diamond, base: theoreticalsyntaxgolfers
0 commit comments