٥륯åĥ
2020400̤ꡣ
˰Ԥ⤽̤Τ1010100̤ꡢⱦξ100̤ǹ碌200̤ꡣ
ɤǤƱȤ̤餺11Ԥˤⵢˤ̤Τ72̤ꡣ
äĴ٤ƤäơɤǸΤ200+72+36+4+24+24360̤ꡣ
äƵ200-36040̤ˤʤޤ
910ڡ 0:21:47 49519
٥륯åĥ
Ȥǡǻ褦꤬ä褦ʵΤǤΤǤ礦
ǯΤۣǤ
910ڡ 0:25:09 49520
ۤ
Фꡢ330ܤǤ͡
http://www.sansu.org/used-html/index330.html
ץץץɡ 910ڡ 0:27:40 HomePage:ʤΤ49521
algebra
鱦˿ʤߡǸϾ˿ʤǥ졼ŹMΤ6̤
6̤ˤĤơοʤͤơ65213220(̤)
äơƻϡ20240(̤)
910ڡ 0:32:14 49522
٥륯åĥ
#49521
꤬Ȥޤ
䤬äʤΤǤäȤϤʤϤǤФޤ͡
Ƕˤ꤬äƤΤȤ˸Τʡ

#49522
ɤͤƤ⤽ΤۤñǤ̵̤͡˼֤򤫤Ƥޤޤ
910ڡ 0:51:28 49523
Mr.ǥ
algebraΡ#49522
Ʊͤˤޤ
ʤΤ褦ʾʬ˳ڤ˵ˡϤΤ
910ڡ 0:52:45 49524
ǯ
algebra#49522Τ褦ˡǽ˾˿ʤࡢ6ѥ
6+5+3+3+2+1=20ǽ˲˿ʤޤơ20*2=40
330Υޥ뤵ν񤭹ߤǤʤơ⺬褯....
910ڡ 1:11:24 49525
äѥȥ
algebraΡ#49522ƱǤ
ƽʣʤɤǤǤʤϤʤȻפޤ
ɤͤƤ⤳줬®Ǥ礦
910ڡ 1:26:30 49526
٥륯åĥ
#49525
ǤפФޤ
ξȡ66-442020240Ǵñ˽Фޤ͡
ä˺ƤǡǤ⤦ٳڤޤ
910ڡ 1:29:17 49527
ǯ
algebra#49522Τ褦ˡǽ˾˿ʤࡢ6ѥ
6+5+3+3+2+1=20ǽ˲˿ʤޤơ20*2=40
330Υޥ뤵ν񤭹ߤǤʤơ⺬褯....
910ڡ 1:38:03 49528
ǯ
#49527٥륯åĥ
ȽΤǤϤɤΤ褦ʹͤǽФƤΤǤ礦
No330⤽ǺäΤǤ

Ԥˤꤤ4952549528֤ޤѤ򤷤ФϤʤΤǤǤޤʤ49528
Ǥ
910ڡ 1:52:06 49529
٥륯åĥ
330Ʊ褦ABXYꤷޤ
ԤΥ롼ȤA-YΥ롼ȤXBȤȡ줾414̤ʤΤDZ4416̤ˤʤꡢɬɤƱ̤ޤ
16̤Τ⡢Ǥ⺸ζͭǤα򤽤äؤȡA-N롼ȤX-Y롼Ȥͭľȴ˰פޤ
ǤǤ礦
910ڡ 2:06:32 49530
ۤ
̤ˡֹ⤵hޥwޥפΥˡ򣲤Ĥۤɽ񤤤Ƥߤޤ
ʲκɸ(0,0)졼Źκɸ(w,h)Ȥޤ

ˡ330ˤβˡƧ

դ褦ʷϩ(0,1),(w-1,h),(w,h-1),(1,0)Σ
ν⤷Ϥεսˤ礦ɣ󤺤̤뤳Ȥˤʤޤ
սˤĤƤϤȤǣܤФΤǡνκûϩͤޤ礦
դʤΤޤƿ夲 ((h+w-2)C(w-1))^2̤ Ǥ͡
ȤϤ줫ֹԤȵǸäƤޤפФ櫓Ǥ
ϡֺǽθǹԤȵηϩؤפȤˤä
(0,1)(w,h-1)ؤηϩ (1,0)(w-1,h)ؤηϩפȣбޤ
ä (h+w-2)Cw (h+w-2)Ch ̤ȵ뤳ȤǤޤ

Ĥޤ ((h+w-2)C(w-1))^2 - ((h+w-2)Cw)*((h+w-2)Ch) ܤФ褯
Ȥ h=w=3 Υ ( (4C2)^2-(4C3)^2 )*2 = (36-16)*2 = 40 Ȥʤ櫓Ǥ͡

ˡȤ߹碌μDzʾС

ˤơդϩǰϤޤʬο޷
ʿԻշݥꥪߥΡפȸƤФΤˤʤޤʿޤǤȡ˰Ϥޤ줿ʬ
ϷɤΤȤ33ʿԻշݥꥪߥΤθĿΣܡפǤ͡

̤hwʿԻշݥꥪߥΤθĿϡ֥ʥʿפȤΤѤ
N(h+w-1,h) ǵ뤳ȤΤƤ N(n,k):=(1/n)(nCk)(nC(k-1)) ȤʤäƤޤ
ʤ󤳤ΤȤϲˡΥǥѤƾ뤳ȤǤޤ
Ȥ櫓ǵ (1/5)((5C3)*(5C2)) ܤ 40 Ȥʤ櫓Ǥ͡

ʤѤʤ鼫ʬϹԤȵǣܤˤʤ뤳Ȥǰ
ɥ20äƲΤˤʤʤȤФ餯ѥ˥åˤʤäƤޤġ
ץץץɡ 910ڡ 2:30:55 HomePage:ʤΤ49531
Ȥ
ޤƻ˰ʲΤ褦ֹ򿶤

/(18)/(22)/(24)
(12)(17)(21)(23)
/(11)/(16)/(22)
(06)(10)(15)(19)
/(05)/(09)/(14)
(02)(04)(08)(13)
/(01)/(03)/(07)

BasicǤ٤Ƥηϩֹ򿶤ФƤߤޤ!!

FOR a=1 to 2
FOR b=3 to 6
if b=a then goto 110
if a=1 and (b<>3 and b<>4) then goto 110
if a=2 and (b<>5 and b<>6) then goto 110
FOR c=7 to 12
if c=a or c=b then goto 100
if b=3 and (c<>7 and c<>8) then goto 100
if b=4 and (c<>9 and c<>10) then goto 100
if b=5 and (c<>9 and c<>10) then goto 100
if b=6 and (c<>11 and c<>12) then goto 100
FOR d=13 to 18
if d=a or d=b or d=c then goto 90
if c=7 and d<>13 then goto 90
if c=8 and (d<>14 and d<>15) then goto 90
if c=9 and (d<>14 and d<>15) then goto 90
if c=10 and (d<>16 and d<>17) then goto 90
if c=11 and (d<>16 and d<>17) then goto 90
if c=12 and d<>18 then goto 90
FOR e=19 to 22
if e=a or e=b or e=c or e=d then goto 80
if d=13 and e<>19 then goto 80
if d=14 and e<>19 then goto 80
if d=15 and (e<>20 and e<>21) then goto 80
if d=16 and (e<>20 and e<>21) then goto 80
if d=17 and e<>22 then goto 80
if d=18 and e<>22 then goto 80
FOR f=23 to 24
if f=a or f=b or f=c or f=d or f=e then goto 70
if e=19 and f<>23 then goto 70
if e=20 and f<>23 then goto 70
if e=21 and f<>24 then goto 70
if e=22 and f<>24 then goto 70
FOR g=23 to 24
if g=a or g=b or g=c or g=d or g=e or g=f then goto 60
if f=23 and g<>24 then goto 60
if f=24 and g<>23 then goto 60
FOR h=19 to 22
if h=a or h=b or h=c or h=d or h=e or h=f or h=g then goto 50
if g=23 and (h<>19 and h<>20) then goto 50
if g=24 and (h<>21 and h<>22) then goto 50
FOR i=13 to 18
if i=a or i=b or i=c or i=d or i=e or i=f or i=g or i=h or (d+i=31 and d*i=15*16) then goto 40
if h=19 and (i<>13 and i<>14) then goto 40
if h=20 and (i<>15 and i<>16) then goto 40
if h=21 and (i<>15 and i<>16) then goto 40
if h=22 and (i<>17 and i<>18) then goto 40
FOR j=7 to 12
if j=a or j=b or j=c or j=d or j=e or j=f or j=g or j=h or j=i or (c+j=21 and c*j=110) or (c+j=17 and c*j=8*9) then goto 30
if i=13 and j<>7 then goto 30
if i=14 and (j<>8 and j<>9) then goto 30
if i=15 and (j<>8 and j<>9) then goto 30
if i=16 and (j<>10 and j<>11) then goto 30
if i=17 and (j<>10 and j<>11) then goto 30
if i=18 and j<>12 then goto 30
FOR k=3 to 6
if k=a or k=b or k=c or k=d or k=e or k=f or k=g or k=h or k=i or k=j or (b+k=9 and b*k=20) then goto 20
if j=7 and k<>3 then goto 20
if j=8 and k<>3 then goto 20
if j=9 and (k<>4 and k<>5) then goto 20
if j=10 and (k<>4 and k<>5) then goto 20
if j=11 and k<>6 then goto 20
if j=12 and k<>6 then goto 20
FOR l=1 to 2
if l=a or l=b or l=c or l=d or l=e or l=f or l=g or l=h or l=i or l=j or l=k then goto 10
if k=3 and l<>1 then goto 10
if k=4 and l<>1 then goto 10
if k=5 and l<>2 then goto 10
if k=6 and l<>2 then goto 10
PRINT s+1;"//";a;b;c;d;e;f;g;h;i;j;k;j;l
let s=s+1
10 next l
20 next k
30 next j
40 next i
50 next h
60 next g
70 next f
80 next e
90 next d
100 next c
110 next b
120 next a
END

f9

1 // 1 3 7 13 19 23 24 21 15 9 5 9 2
2 // 1 3 7 13 19 23 24 21 16 10 5 10 2
3 // 1 3 7 13 19 23 24 21 16 11 6 11 2
4 // 1 3 7 13 19 23 24 22 17 10 5 10 2
5 // 1 3 7 13 19 23 24 22 17 11 6 11 2
6 // 1 3 7 13 19 23 24 22 18 12 6 12 2
7 // 1 3 8 14 19 23 24 21 16 10 5 10 2
8 // 1 3 8 14 19 23 24 21 16 11 6 11 2
9 // 1 3 8 14 19 23 24 22 17 10 5 10 2
10 // 1 3 8 14 19 23 24 22 17 11 6 11 2
11 // 1 3 8 14 19 23 24 22 18 12 6 12 2
12 // 1 3 8 15 20 23 24 22 17 10 5 10 2
13 // 1 3 8 15 20 23 24 22 17 11 6 11 2
14 // 1 3 8 15 20 23 24 22 18 12 6 12 2
15 // 1 4 9 14 19 23 24 21 16 11 6 11 2
16 // 1 4 9 14 19 23 24 22 17 11 6 11 2
17 // 1 4 9 14 19 23 24 22 18 12 6 12 2
18 // 1 4 9 15 20 23 24 22 17 11 6 11 2
19 // 1 4 9 15 20 23 24 22 18 12 6 12 2
20 // 1 4 10 16 20 23 24 22 18 12 6 12 2
21 // 2 5 9 15 21 24 23 19 13 7 3 7 1
22 // 2 5 10 16 21 24 23 19 13 7 3 7 1
23 // 2 5 10 16 21 24 23 19 14 8 3 8 1
24 // 2 5 10 17 22 24 23 19 13 7 3 7 1
25 // 2 5 10 17 22 24 23 19 14 8 3 8 1
26 // 2 5 10 17 22 24 23 20 15 8 3 8 1
27 // 2 6 11 16 21 24 23 19 13 7 3 7 1
28 // 2 6 11 16 21 24 23 19 14 8 3 8 1
29 // 2 6 11 16 21 24 23 19 14 9 4 9 1
30 // 2 6 11 17 22 24 23 19 13 7 3 7 1
31 // 2 6 11 17 22 24 23 19 14 8 3 8 1
32 // 2 6 11 17 22 24 23 19 14 9 4 9 1
33 // 2 6 11 17 22 24 23 20 15 8 3 8 1
34 // 2 6 11 17 22 24 23 20 15 9 4 9 1
35 // 2 6 12 18 22 24 23 19 13 7 3 7 1
36 // 2 6 12 18 22 24 23 19 14 8 3 8 1
37 // 2 6 12 18 22 24 23 19 14 9 4 9 1
38 // 2 6 12 18 22 24 23 20 15 8 3 8 1
39 // 2 6 12 18 22 24 23 20 15 9 4 9 1
40 // 2 6 12 18 22 24 23 20 16 10 4 10 1
˭ԡ 910ڡ 4:09:10 MAIL:fttnm528@ybb.ne.jp 49532
Ȥ
#49532
ߤޤ󼫸ʥ쥹
PRINT s+1;"//";a;b;c;d;e;f;g;h;i;j;k;j;l
Ǥʤ
PRINT s+1;"//";a;b;c;d;e;f;g;h;i;j;k;lѤʤ
ϩʣƤޤäޤ!!

ޤƻ˰ʲΤ褦ֹ򿶤

/(18)/(22)/(24)
(12)(17)(21)(23)
/(11)/(16)/(22)
(06)(10)(15)(19)
/(05)/(09)/(14)
(02)(04)(08)(13)
/(01)/(03)/(07)

BasicǤ٤Ƥηϩֹ򿶤ФƤߤޤ!!

FOR a=1 to 2
FOR b=3 to 6
if b=a then goto 110
if a=1 and (b<>3 and b<>4) then goto 110
if a=2 and (b<>5 and b<>6) then goto 110
FOR c=7 to 12
if c=a or c=b then goto 100
if b=3 and (c<>7 and c<>8) then goto 100
if b=4 and (c<>9 and c<>10) then goto 100
if b=5 and (c<>9 and c<>10) then goto 100
if b=6 and (c<>11 and c<>12) then goto 100
FOR d=13 to 18
if d=a or d=b or d=c then goto 90
if c=7 and d<>13 then goto 90
if c=8 and (d<>14 and d<>15) then goto 90
if c=9 and (d<>14 and d<>15) then goto 90
if c=10 and (d<>16 and d<>17) then goto 90
if c=11 and (d<>16 and d<>17) then goto 90
if c=12 and d<>18 then goto 90
FOR e=19 to 22
if e=a or e=b or e=c or e=d then goto 80
if d=13 and e<>19 then goto 80
if d=14 and e<>19 then goto 80
if d=15 and (e<>20 and e<>21) then goto 80
if d=16 and (e<>20 and e<>21) then goto 80
if d=17 and e<>22 then goto 80
if d=18 and e<>22 then goto 80
FOR f=23 to 24
if f=a or f=b or f=c or f=d or f=e then goto 70
if e=19 and f<>23 then goto 70
if e=20 and f<>23 then goto 70
if e=21 and f<>24 then goto 70
if e=22 and f<>24 then goto 70
FOR g=23 to 24
if g=a or g=b or g=c or g=d or g=e or g=f then goto 60
if f=23 and g<>24 then goto 60
if f=24 and g<>23 then goto 60
FOR h=19 to 22
if h=a or h=b or h=c or h=d or h=e or h=f or h=g then goto 50
if g=23 and (h<>19 and h<>20) then goto 50
if g=24 and (h<>21 and h<>22) then goto 50
FOR i=13 to 18
if i=a or i=b or i=c or i=d or i=e or i=f or i=g or i=h or (d+i=31 and d*i=15*16) then goto 40
if h=19 and (i<>13 and i<>14) then goto 40
if h=20 and (i<>15 and i<>16) then goto 40
if h=21 and (i<>15 and i<>16) then goto 40
if h=22 and (i<>17 and i<>18) then goto 40
FOR j=7 to 12
if j=a or j=b or j=c or j=d or j=e or j=f or j=g or j=h or j=i or (c+j=21 and c*j=110) or (c+j=17 and c*j=8*9) then goto 30
if i=13 and j<>7 then goto 30
if i=14 and (j<>8 and j<>9) then goto 30
if i=15 and (j<>8 and j<>9) then goto 30
if i=16 and (j<>10 and j<>11) then goto 30
if i=17 and (j<>10 and j<>11) then goto 30
if i=18 and j<>12 then goto 30
FOR k=3 to 6
if k=a or k=b or k=c or k=d or k=e or k=f or k=g or k=h or k=i or k=j or (b+k=9 and b*k=20) then goto 20
if j=7 and k<>3 then goto 20
if j=8 and k<>3 then goto 20
if j=9 and (k<>4 and k<>5) then goto 20
if j=10 and (k<>4 and k<>5) then goto 20
if j=11 and k<>6 then goto 20
if j=12 and k<>6 then goto 20
FOR l=1 to 2
if l=a or l=b or l=c or l=d or l=e or l=f or l=g or l=h or l=i or l=j or l=k then goto 10
if k=3 and l<>1 then goto 10
if k=4 and l<>1 then goto 10
if k=5 and l<>2 then goto 10
if k=6 and l<>2 then goto 10
PRINT s+1;"//";a;b;c;d;e;f;g;h;i;j;k;l
let s=s+1
10 next l
20 next k
30 next j
40 next i
50 next h
60 next g
70 next f
80 next e
90 next d
100 next c
110 next b
120 next a
END

1 // 1 3 7 13 19 23 24 21 15 9 5 2
2 // 1 3 7 13 19 23 24 21 16 10 5 2
3 // 1 3 7 13 19 23 24 21 16 11 6 2
4 // 1 3 7 13 19 23 24 22 17 10 5 2
5 // 1 3 7 13 19 23 24 22 17 11 6 2
6 // 1 3 7 13 19 23 24 22 18 12 6 2
7 // 1 3 8 14 19 23 24 21 16 10 5 2
8 // 1 3 8 14 19 23 24 21 16 11 6 2
9 // 1 3 8 14 19 23 24 22 17 10 5 2
10 // 1 3 8 14 19 23 24 22 17 11 6 2
11 // 1 3 8 14 19 23 24 22 18 12 6 2
12 // 1 3 8 15 20 23 24 22 17 10 5 2
13 // 1 3 8 15 20 23 24 22 17 11 6 2
14 // 1 3 8 15 20 23 24 22 18 12 6 2
15 // 1 4 9 14 19 23 24 21 16 11 6 2
16 // 1 4 9 14 19 23 24 22 17 11 6 2
17 // 1 4 9 14 19 23 24 22 18 12 6 2
18 // 1 4 9 15 20 23 24 22 17 11 6 2
19 // 1 4 9 15 20 23 24 22 18 12 6 2
20 // 1 4 10 16 20 23 24 22 18 12 6 2
21 // 2 5 9 15 21 24 23 19 13 7 3 1
22 // 2 5 10 16 21 24 23 19 13 7 3 1
23 // 2 5 10 16 21 24 23 19 14 8 3 1
24 // 2 5 10 17 22 24 23 19 13 7 3 1
25 // 2 5 10 17 22 24 23 19 14 8 3 1
26 // 2 5 10 17 22 24 23 20 15 8 3 1
27 // 2 6 11 16 21 24 23 19 13 7 3 1
28 // 2 6 11 16 21 24 23 19 14 8 3 1
29 // 2 6 11 16 21 24 23 19 14 9 4 1
30 // 2 6 11 17 22 24 23 19 13 7 3 1
31 // 2 6 11 17 22 24 23 19 14 8 3 1
32 // 2 6 11 17 22 24 23 19 14 9 4 1
33 // 2 6 11 17 22 24 23 20 15 8 3 1
34 // 2 6 11 17 22 24 23 20 15 9 4 1
35 // 2 6 12 18 22 24 23 19 13 7 3 1
36 // 2 6 12 18 22 24 23 19 14 8 3 1
37 // 2 6 12 18 22 24 23 19 14 9 4 1
38 // 2 6 12 18 22 24 23 20 15 8 3 1
39 // 2 6 12 18 22 24 23 20 15 9 4 1
40 // 2 6 12 18 22 24 23 20 16 10 4 1
˭ԡ 910ڡ 4:21:35 MAIL:fttnm528@ybb.ne.jp 49533
(Keigei)
Ĥƻܡƻܤξ
(mn3)!(mn4)!/{(m1)!(m2)!(n1)!(n2)!} ̤Ǥꡢ
mn4 ΤȤ40̤ˤʤޤ
ܤϡhttps://okayadokary.blog.fc2.com/blog-entry-3465.html
910ڡ 5:01:47 49534
ֿء׾ι
Ȥꤢ֥եȤʤפǡ
쥬ȤʤϤ줫顢ǼĤҸٶƤޤ
910ڡ 5:49:58 49535
ϥ饮㡼ƥ
ǰʤǧڤǤ
ԡ 910ڡ 6:26:17 HomePage:湩ؤ˥49536

Ȥꤢ夲ޤ
910ڡ 8:15:08 49537
ǯ
#49530꤬Ȥޤ
ΡǼĤɤľޤ
Ǥ⡢İǤǽ­ˡǽǤ
910ڡ 8:44:21 49538
ֿء׾ι
#49531
ʤۤɡͤȤΤǤ͡
ͭ񤦤ޤ
910ڡ 11:00:21 49539
Ѥ
Ⱦʬʤѥ̤Τ줾
Υѥ׻ƣܤǵޤ
910ڡ 13:00:37 49540
ˤ
Ȥޤ
Ķļˡ 910ڡ 16:04:57 49541
ޥ
330Τȡ˺Ƥޤơʬν񤭹ߤ⤷Ф餯֡פǤ
Mac 910ڡ 16:54:23 HomePage:49542
Ȥ
#49533
ʥ쥹Ǥߤޤǡ

ޤƻ˰ʲΤ褦ֹ򿶤

3ܤ2220ưʲ

/(18)/(22)/(24)졼Ź ƻ
(12)(17)(21)(23)ƻ
/(11)/(16)/(20) ƻ
(06)(10)(15)(19)ƻ
/(05)/(09)/(14) ƻ
(02)(04)(08)(13)ƻ
S(01)/(03)/(07) ƻ
˭ԡ 910ڡ 17:00:00 MAIL:fttnm528@ybb.ne.jp 49543
SECOND
! #49522 algebra Υ르ꥺ BASIC ǡ㣱

!Ϥƾ˽롢ϡ夫ϤƱ˽
!ϤƱ˽롢ϡ夫Ϥƾ˽ Բġ
!ʾ夬Τˡ̤꤬(y1,y2,y3)ûΥ(y1y2y3)
!ƻ(w1,w2,w3)ξ y w ܿʤ֥٤
!------------------------------------------

FOR y1=2 TO 4
FOR y2=y1 TO 4
LET y3=4
!--
PRINT "! Ԥ"
LET w1=1
FOR w2=1 TO MIN(y1,y2)-1
FOR w3=w2 TO MIN(y2,y3)-1
LET n=n+1
PRINT USING"!###) # # # # # #": n,y1,y2,y3 ,w1,w2,w3
NEXT w3
NEXT w2
!--
NEXT y2
NEXT y1
PRINT "! Ԥդˤƣܡ";n*2
910ڡ 19:03:55 49544
ޤ
Ѥ餺֥եȤʡפʲˡȻפ䡢#49522 algebraޤ
Ʊۤǡʤ˶ڤϰʤäΤäƥӥåʾС

#49535 ֿء׾ιԤ
®꤬Ȥޤ(^^

(Keigei)
ϤDz򤯤ȤǤޤ

(Keigei)
somewhere in the world 912ڡ 20:21:45 49545
ޤ

#49534 (Keigei)ޡǤm(_ _)m

񤭹ߵǤʤΤϡĿͤPCĶˤΤǤ礦ġ䡡ޥ뤵
somewhere in the world 913 1:03:53 49546
M
PythonϤ虜Dz򤨤ޤȤκɸ(0,0)xyΤɤ餫1ä(3,3)ޤǹԤääƤ롢̤äɸꥹȤƽʣʤΤΤߤԥååסǸˤθĿƤޤ

import random
import numpy as np
import collections

def has_duplicates2(seq):
seen = []
unique_list = [x for x in seq if x not in seen and not seen.append(x)]
return len(seq) != len(unique_list)

def get_duplicate_list(seq):
seen = []
return [x for x in seq if not seen.append(x) and seen.count(x) == 2]
fin = []
for i in range (100000):
path = np.empty((0,2), int)
p = [0,0]
l = [0,0,0,1,1,1]
for n in range (6):
a = random.choice(l)
l.remove(a)
if a == 0:
p[0]=p[0]+1
else:
p[1]=p[1]+1
path=np.append(path,np.array([p]),axis=0)

l = [0,0,0,1,1,1]
for n in range (6):
a = random.choice(l)
l.remove(a)
if a == 0:
p[0]=p[0]-1
else:
p[1]=p[1]-1
path=np.append(path,np.array([p]),axis=0)
path_final = path.tolist()
if has_duplicates2(path_final) == False:
fin.append(path_final)
print(len(get_duplicate_list(fin)))
913 15:01:57 49547
ֿء׾ι
ʤ󤫤ˡʤʤȻפäơ󤬤Τʲ̤ꡣ
ΰư򣰡̰ư򣱡ư1ȤơԤ[0,0,0,1,1,1]νȤơ
[0,0,0,-1,-1,-1]νȤޤԤκǸ夬ưΤȤϡԤ
꤬֤ĤʤΤƱΰư¤äοΤޤޤΤȤǤRubyǽ񤤤Ƥߤޤ
ԤκǸ夬̰ưξƱΤǡΥץǽФ2ܤȤޤ

n=0;[0,0,0,1,1,1].permutation.uniq.each{|x|[0,0,0,-1,-1,-1].permutation.uniq.each\
{|y| n+=1 if (x.first(1).sum+y.first(1).sum)<0&&(x.first(2).sum+y.first(2).sum<0)\
&&(x.first(3).sum+y.first(3).sum<0)&&(x.first(4).sum+y.first(4).sum<0)\
&&(x.first(5).sum+y.first(5).sum<0)}};p n
914ʷ 16:46:27 49548
SECOND
#49544ǤʤΤǡ֤Ƥޤ MIN() פǤǺ ߤޤ

FOR y1=2 TO 4
FOR y2=y1 TO 4
FOR w2=1 TO y1-1
FOR w3=w2 TO y2-1
LET n=n+1
NEXT w3
NEXT w2
NEXT y2
NEXT y1
PRINT n*2
915ʲС 21:45:54 49549