Skip to content

Commit 1ef9943

Browse files
Update public data [skip ci]
1 parent fb531e3 commit 1ef9943

22 files changed

+24
-24
lines changed

base_keymoon/task244.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 64(ox jam) / others: 65(4atj sisyphus luke Seek mukundan), 65(jailctf merger), 65(Yuchen20), 66(jacekw Potatoman nauti natte), 66(natte)
1+
# best: 63(jacekw Potatoman nauti natte) / others: 64(ox jam), 65(4atj sisyphus luke Seek mukundan), 65(jailctf merger), 65(Yuchen20), 66(natte)
22
# lambda g:(k:= )and[s[::-k]for s in g[::k]]
33
# lambda g:(k:=1+g[0].index([s[0]for s in g if {*s}=={s[0]}][0]))and[s[::-k]for s in g[::k]]
44
# lambda g:(k:=[i+1for i,v in enumerate(g[0])if v!=g[0][0]][0])and[s[::-k]for s in g[::k]]
@@ -8,7 +8,7 @@
88
# lambda g:[[s[::-k]for s in g[::k]]for k in range(1,8)if g[0]!=g[k-1]][0]
99
# lambda g:[[s[::-k]for s in g[::k]]for k in(3,4,5,6)if g[0]!=g[k-1]][0]
1010
# lambda g:[[s[::-k]for s in g[::k]]for k in b""if g[0]!=g[k-1]][0]
11-
# ============================= 64 =============================
11+
# ============================= 63 ============================
1212
# lambda g:(k:=1+g.index(min(g,key=set)))and[s[::-k]for s in g[::k]]
1313
# f p(g):k=1+g.index(min(g,key=set));return[s[::-k]for s in g[::k]]
1414
# lambda g:[r*0!=0and p(r)[::-1]or r for r in g if g!=(g:=r)][::2]

base_keymoon/task254.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# 類題:10
2-
# best: 84(jailctf merger) / others: 91(4atj sisyphus luke Seek mukundan), 95(ox jam), 101(intgrah jimboko awu macaque sammyuri), 104(MasukenSamba), 112(jacekw Potatoman nauti natte)
2+
# best: 84(jailctf merger) / others: 91(4atj sisyphus luke Seek mukundan), 95(ox jam), 101(intgrah jimboko awu macaque sammyuri), 102(jacekw Potatoman nauti natte), 104(MasukenSamba)
33
# ======================================= 84 =======================================
44
p=lambda g,Z=zip:[*Z(*[[v and(s==(a:=sorted({*Z(*g)}))[1])*2+(s==a[-1])for v in s]for s in Z(*g)])]
55

base_keymoon/task256.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 95(jailctf merger) / others: 96(ox jam), 98(4atj sisyphus luke Seek mukundan), 106(intgrah jimboko awu macaque sammyuri), 107(jacekw Potatoman nauti natte), 107(natte)
1+
# best: 95(jailctf merger) / others: 96(ox jam), 98(4atj sisyphus luke Seek mukundan), 105(jacekw Potatoman nauti natte), 106(intgrah jimboko awu macaque sammyuri), 107(natte)
22
# ============================================= 95 ============================================
33
def p(g):
44
m=max(g);s=sum(m)//2;n=g.index(m)+s;h=g[:]

base_yu/task044.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 243(jacekw Potatoman nauti natte) / others: 255(4atj sisyphus luke Seek mukundan), 255(intgrah jimboko awu macaque sammyuri), 261(natte), 279(jailctf merger), 281(ox jam)
1+
# best: 239(jacekw Potatoman nauti natte) / others: 255(4atj sisyphus luke Seek mukundan), 255(intgrah jimboko awu macaque sammyuri), 261(natte), 279(jailctf merger), 281(ox jam)
22
# R=range
33
# def p(g):
44
# for c in R(10):

base_yu/task054.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 279(jailctf merger) / others: 283(ox jam), 315(jacekw Potatoman nauti natte), 318(intgrah jimboko awu macaque sammyuri), 333(natte), 342(cg-klogw-sekken)
1+
# best: 279(jailctf merger) / others: 283(ox jam), 313(jacekw Potatoman nauti natte), 318(intgrah jimboko awu macaque sammyuri), 333(natte), 342(cg-klogw-sekken)
22
def p(g):
33
for c in range(10):
44
z=[(i,j)for i in range(30)for j in range(30)if g[i][j]==c]

base_yu/task066.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 268(4atj sisyphus luke Seek mukundan, jailctf merger) / others: 275(ox jam), 299(jacekw Potatoman nauti natte), 299(natte), 303(duckyluuk), 306(Yuchen20)
1+
# best: 268(4atj sisyphus luke Seek mukundan, jailctf merger) / others: 275(ox jam), 291(jacekw Potatoman nauti natte), 299(natte), 303(duckyluuk), 306(Yuchen20)
22
def p(g):
33
d=[1,0,-1,0,1]
44
for k in range(16):

base_yu/task076.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 276(jailctf merger) / others: 295(ox jam), 320(4atj sisyphus luke Seek mukundan), 330(jacekw Potatoman nauti natte), 330(Yuchen20), 355(natte)
1+
# best: 276(jailctf merger) / others: 295(ox jam), 320(4atj sisyphus luke Seek mukundan), 328(jacekw Potatoman nauti natte), 330(Yuchen20), 355(natte)
22
def p(g):
33
u=[]
44
u=[(i,j,g[i][j])for i in range(len(g))for j in range(len(g[0]))if g[i][j]|2==3 or g[i][j]*any(abs(y-i)<2>abs(x-j) for y,x,_ in u)]

base_yu/task080.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 253(ox jam) / others: 264(jailctf merger), 277(jacekwl Potatoman nauti), 277(jacekw Potatoman nauti natte), 277(jacekw Potatoman nauti), 284(JRKXK)
1+
# best: 253(ox jam) / others: 264(jailctf merger), 276(jacekw Potatoman nauti natte), 277(jacekwl Potatoman nauti), 277(jacekw Potatoman nauti), 284(JRKXK)
22
def p(g):
33
a,*_,b,c=sorted({*sum(g,[])},key=lambda c:(sum(g,[]).count(c),sum(g,[])[::-1].index(c)+sum(g,[]).index(c)))
44
s=sum(g,[]).index(b^c)+1

base_yu/task086.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 172(ox jam) / others: 176(jailctf merger), 179(4atj sisyphus luke Seek mukundan), 233(jacekw Potatoman nauti natte), 233(intgrah jimboko awu macaque sammyuri), 242(natte)
1+
# best: 172(ox jam) / others: 176(jailctf merger), 179(4atj sisyphus luke Seek mukundan), 224(jacekw Potatoman nauti natte), 233(intgrah jimboko awu macaque sammyuri), 242(natte)
22
# ================================================================================== 172 ===================================================================================
33

44
# ↓このコードは [Yuくんのcommit](https://github.com/key-moon/golf/commit/11125032033087d2f61e09dcacaf810a6c1e4a0d) のもの

base_yu/task089.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 236(ox jam) / others: 242(jailctf merger), 298(jacekw Potatoman nauti natte), 304(jacekwl Potatoman nauti), 304(jacekw Potatoman nauti), 316(natte)
1+
# best: 236(ox jam) / others: 242(jailctf merger), 286(jacekw Potatoman nauti natte), 304(jacekwl Potatoman nauti), 304(jacekw Potatoman nauti), 316(natte)
22
p=lambda g:[[g[y][x] or max(any(
33
g[i][j]==d and (y+a-i,x+(b-j)*(g[a][b]*2-5))!=(a,b) and 13>y+a-i>-1<x+(b-j)*(g[a][b]*2-5)<13 and g[y+a-i][x+(b-j)*(g[a][b]*2-5)]==g[a][b]
44
for a in range(13)for b in range(13)if g[a][b]|1==3 and (d:=max(k|l!=0 and 13>a+k>-1<b+l<13 and g[a+k][b+l] for k in range(-1,2)for l in range(-1,2)))

0 commit comments

Comments
 (0)