Skip to content

Commit 105a52a

Browse files
Update public data [skip ci]
1 parent fda248c commit 105a52a

19 files changed

+32
-32
lines changed

base_keymoon/task002.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# best: 90(Code Golf International, 4atj sisyphus luke Seek mukundan) / others: 91(ox jam), 91(intgrah jimboko awu macaque sammyuri), 94(biz), 96(HETHAT), 97(cubbus)
2-
# ========================================== 90 ==========================================
1+
# best: 88(ox jam) / others: 90(Code Golf International), 90(4atj sisyphus luke Seek mukundan), 91(intgrah jimboko awu macaque sammyuri), 94(biz), 96(HETHAT)
2+
# ========================================= 88 =========================================
33
# port re;S=re.sub;p=lambda g,c=-63:c*S(*"04",str(g))or eval(S(*"90",str(p(eval(S("0(?=, 9|\))","9",str([*zip(*g[::-1])]))),c+1))))
44
# port re;S=re.sub;p=lambda g,c=-63:g*c or eval(S(*"0940"[c<0::2],str(p(eval(S("0(?=, 9|\))","9",str([*zip(*g[::-1])]))),c+1))))
55
# port re;S=re.sub;p=lambda g,c=-63:c*S(" 0,"," 4,",str(g))or p(eval(S(" 0(?=, 0\.|\))",".0",str([*zip(*g[::-1])]))),c+1)

base_keymoon/task004.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 74(jailctf merger) / others: 80(Code Golf International), 80(4atj sisyphus luke Seek mukundan), 83(ox jam), 84(HIMAGINE THE FUTURE.), 91(import itertools)
1+
# best: 73(ox jam) / others: 74(jailctf merger), 80(Code Golf International), 80(4atj sisyphus luke Seek mukundan), 84(HIMAGINE THE FUTURE.), 91(import itertools)
22
# 「輪」のいちばん下のcomponent以外を動かす
33
# 輪の下には0,0,0...があることを利用して下端を判別(下端のときは動かさず、さらに一個上のを動かす)
44
# 最後が
@@ -31,7 +31,7 @@
3131
# return g
3232
# def p(g):p=[0];return [[l.pop([-1,p.index(c:=max(p))][p.count(c)!=2]),p:=[0,*l]][1] for l in g[::-1]][::-1]
3333
# lambda g,p=[0]:[[l.pop([-1,p.index(c:=max(p))][p.count(c)!=2]),p:=[0,*l]][1]for l in g[::-1]][::-1]
34-
# ================================== 74 ==================================
34+
# ================================== 73 =================================
3535
# lambda g:[[s.pop([-1,t.index(c:=max(t))][t.count(c)!=2]),*s]for s,t in zip(g,(g*2)[1:])]
3636
p=lambda g:[[s.pop(t.index(c:=max(t))|-1*(0<2*c==sum(t)))]+s for s,t in zip(g,(g*2)[1:])]
3737

base_keymoon/task094.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 98(jailctf merger) / others: 102(Code Golf International), 102(4atj sisyphus luke Seek mukundan), 102(HIMAGINE THE FUTURE.), 105(タイスケンサンバII), 106(ox jam)
2-
# ============================================== 98 ==============================================
1+
# best: 97(ox jam) / others: 98(jailctf merger), 102(Code Golf International), 102(4atj sisyphus luke Seek mukundan), 102(HIMAGINE THE FUTURE.), 105(タイスケンサンバII)
2+
# ============================================== 97 =============================================
33
# port re;p=lambda g,c=-3:g*c or[*zip(*eval(re.sub(r"8(?=[^(]+\(.{,40}1.{43}1, 1)","6",str(p(g,c+1)))))]
44
import re;p=lambda g,c=-3:g*c or[*zip(*eval(re.sub(r"8(?=[^(]*\([^(]*1.{43}1, 1)","6",str(p(g,c+1)))))]

base_keymoon/task141.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# best: 94(jailctf merger) / others: 96(Code Golf International), 96(4atj sisyphus luke Seek mukundan), 100(jacekw Potatoman nauti natte), 100(natte), 100(import itertools)
2-
# ============================================ 94 ============================================
1+
# best: 93(ox jam) / others: 94(jailctf merger), 96(Code Golf International), 96(4atj sisyphus luke Seek mukundan), 100(jacekw Potatoman nauti natte), 100(natte)
2+
# ============================================ 93 ===========================================
33
# lambda g:(R:=range(len(g)))and[[max((y-x==i-j or y+x==i+j)*(g[i][j]|g[y][x])for y in R for x in R)for j in R]for i in R]
44
# lambda g:(R:=range(len(g)))and[[max((y-i in(x-j,j-x))*g[y][x]for y in R for x in R)for j in R]for i in R]
55
# lambda g:(R:=range(len(g)))and[[max(0<j+(i-k)*s<len(g)and g[k][j+(i-k)*s]for s in(1,-1)for k in R)for j in R]for i in R]

base_keymoon/task287.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# best: 56(jailctf merger, HIMAGINE THE FUTURE.) / others: 59(Code Golf International), 59(4atj sisyphus luke Seek mukundan), 60(biz), 63(ox jam), 69(import itertools)
1+
# best: 55(ox jam) / others: 56(jailctf merger), 56(HIMAGINE THE FUTURE.), 59(Code Golf International), 59(4atj sisyphus luke Seek mukundan), 60(biz)
22
# lambda g:[[a[a[0]==4]for a in zip(a,b[::-1])]for a,b in zip(g,g[::-1])]
33
# lambda g,R=range(16):[[[g[i][j],g[~i][~j]][g[i][j]==4]for j in R]for i in R]
44
# lambda g,E=enumerate:[[[v,g[~i][~j]][v==4]for j,v in E(s)]for i,s in E(g)]
55
# lambda g:[[[x,y][x==4]for x,y in zip(s,t[::-1])]for s,t in zip(g,g[::-1])]
66
# lambda g:[[c[c[0]==4]for c in zip(s,t[::-1])]for s,t in zip(g,g[::-1])]
77
# lambda g:(a:=sum(g,[]))and[[[v,a.pop()][v==4]for v in s]for s in g]
88
# f p(g):return(b:=[(a:=g.pop())+[[v,a.pop()][v==4]for v in s]for s in g])+b[::-1]
9-
# ========================= 56 =========================
9+
# ========================= 55 ========================
1010
# lambda g:[(t:=g.pop()*1)and[[a,t.pop()][a==4]for a in s]for s in g*1]
1111
# ↓左右反転だと1ケースだけ中心軸が残る 色は違うからズルできない
1212
# lambda g:[[[a,b][a==4]for a,b in zip(s,s[::-1])]for s in g]

base_yu/task001.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 58(jacekw Potatoman nauti natte, natte, import itertools) / others: 60(jailctf merger), 60(intgrah jimboko awu macaque sammyuri), 61(jonas ryno kg583 kabutack), 61(open source), 61(cubbus)
1+
# best: 58(jacekw Potatoman nauti natte, natte, import itertools, ox jam) / others: 60(jailctf merger), 60(intgrah jimboko awu macaque sammyuri), 61(jonas ryno kg583 kabutack), 61(open source), 61(cubbus)
22
# ========================== 58 ==========================
33
p=lambda g:[[x&y for x in s for y in t]for s in g for t in g]
44
# p=lambda g,X=range(9):[[g[r//3][c//3]&g[r%3][c%3]for c in X]for r in X]

base_yu/task002.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# best: 90(Code Golf International, 4atj sisyphus luke Seek mukundan) / others: 91(ox jam), 91(intgrah jimboko awu macaque sammyuri), 94(biz), 96(HETHAT), 97(cubbus)
2-
# ========================================== 90 ==========================================
1+
# best: 88(ox jam) / others: 90(Code Golf International), 90(4atj sisyphus luke Seek mukundan), 91(intgrah jimboko awu macaque sammyuri), 94(biz), 96(HETHAT)
2+
# ========================================= 88 =========================================
33
# def p(g):
44
# return g
55
def p(g):

base_yu/task004.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# best: 74(jailctf merger) / others: 80(Code Golf International), 80(4atj sisyphus luke Seek mukundan), 83(ox jam), 84(HIMAGINE THE FUTURE.), 91(import itertools)
2-
# ================================== 74 ==================================
1+
# best: 73(ox jam) / others: 74(jailctf merger), 80(Code Golf International), 80(4atj sisyphus luke Seek mukundan), 84(HIMAGINE THE FUTURE.), 91(import itertools)
2+
# ================================== 73 =================================
33
# p=lambda g:[[s.pop(t.index(c:=max(t))|-(0<2*c==sum(t)))]+s for s,t in zip(g,(g*2)[1:])]
44
p=lambda g:[[s.pop(t.index(c:=max(t))|-(0<sum(t)<3*c))]+s for s,t in zip(g,g[1:]+g)]

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), 243(HIMAGINE THE FUTURE.), 269(タイスケンサンバII), 275(Code Golf International), 275(4atj sisyphus luke Seek mukundan)
1+
# best: 236(ox jam) / others: 242(jailctf merger), 243(HIMAGINE THE FUTURE.), 269(タイスケンサンバII), 272(intgrah jimboko awu macaque sammyuri), 275(Code Golf International)
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)))

base_yu/task094.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# best: 98(jailctf merger) / others: 102(Code Golf International), 102(4atj sisyphus luke Seek mukundan), 102(HIMAGINE THE FUTURE.), 105(タイスケンサンバII), 106(ox jam)
2-
# ============================================== 98 ==============================================
1+
# best: 97(ox jam) / others: 98(jailctf merger), 102(Code Golf International), 102(4atj sisyphus luke Seek mukundan), 102(HIMAGINE THE FUTURE.), 105(タイスケンサンバII)
2+
# ============================================== 97 =============================================
33
# p=lambda g,c=-1,E=enumerate:c*g or p([[s[j]==1or(s[j-2:j+3:4]+[t[i-2]]==[1]*3or 6in s+[*t])*6or s[j]for j,t in E(zip(*g))]for i,s in E(g)],c+1)
44
# p=lambda g,E=enumerate:g*(6in g[0])or p([[s[j]&1or(s[j-2:j+3:4]+[t[i-2]]==[1]*3or 6in s+[*t])*6or s[j]for j,t in E(zip(*g))]for i,s in E(g)])
55
# p=lambda g,E=enumerate:g*(6in g[0])or p([[s[j]&1or(s[j-2:j+3:4]==[t[i-2]<2]*2or 6in s+[*t])*6or s[j]for j,t in E(zip(*g))]for i,s in E(g)])

0 commit comments

Comments
 (0)