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ȥ
οޤʬ
1
2
3
4
5678
ֹ򿶤
֤ΤȤꤦϰʲ(*,*)16
(1,5)(1,6)(1,7)(1,8)
(2,5)(2,6)(2,7)(2,8)
(3,5)(3,6)(3,7)(3,8)
(4,5)(4,6)(4,7)(4,8)
5Ĥ֤(a,b),(c,d),(e,f),(g,h),(i,j)Ȥ
Basic

for a=1 to 4
for b=5 to 8
for c=a to 4
for d=5 to 8
if (a=c and b=d) then goto 70
for e=c to 4
for f=5 to 8
if (a=e and b=f) or (c=e and d=f) then goto 50
for g=e to 4
for h=5 to 8
if (a=g and b=h) or (c=g and d=h) or (e=g and f=h) then goto 30
for i=g to 4
FOR j=5 TO 8
IF (a=c AND b<d) AND c+d+e+f+g+h+i+j=36 AND c*d*e*f*g*h*i*j=40320 THEN let s1=s1+1
IF (a=c AND b<d) AND b+c+e+f+g+h+i+j=36 AND b*c*e*f*g*h*i*j=40320 AND ((a<>c OR b=>d) OR c+d+e+f+g+h+i+j<>36 OR c*d*e*f*g*h*i*j<>40320) THEN let s2=s2+1
IF (a=c AND b<d) AND b+c+d+e+g+h+i+j=36 AND b*c*d*e*g*h*i*j=40320 AND ((a<>c OR b=>d) OR b+c+e+f+g+h+i+j<>36 OR b*c*e*f*g*h*i*j<>40320) AND ((a<>c OR b=>d) OR c+d+e+f+g+h+i+j<>36 OR c*d*e*f*g*h*i*j<>40320) THEN let s3=s3+1
IF (a=c AND b<d) AND b+c+d+e+f+g+i+j=36 AND b*c*d*e*f*g*i*j=40320 AND ((a<>c OR b=>d) OR b+c+d+e+g+h+i+j<>36 OR b*c*d*e*g*h*i*j<>40320) AND ((a<>c OR b=>d) OR b+c+e+f+g+h+i+j<>36 OR b*c*e*f*g*h*i*j<>40320) AND ((a<>c OR b=>d) OR c+d+e+f+g+h+i+j<>36 OR c*d*e*f*g*h*i*j<>40320) THEN LET s4=s4+1
IF (c=e AND d<f) AND a+d+e+f+g+h+i+j=36 AND a*d*e*f*g*h*i*j=40320 THEN LET t1=t1+1
IF (c=e AND d<f) AND a+b+e+f+g+h+i+j=36 AND a*b*e*f*g*h*i*j=40320 AND ((c<>e OR d=>f) OR a+c+d+f+g+h+i+j<>36 OR a*c*d*f*g*h*i*j<>40320) AND ((c<>e OR d=>f) OR a+d+e+f+g+h+i+j<>36 OR a*d*e*f*g*h*i*j<>40320) THEN let t3=t3+1
IF (c=e AND d<f) AND a+b+d+e+g+h+i+j=36 AND a*b*d*e*g*h*i*j=40320 AND ((c<>e OR d=>f) OR a+b+e+f+g+h+i+j<>36 OR a*b*e*f*g*h*i*j<>40320) AND ((c<>e OR d=>f) OR a+c+d+f+g+h+i+j<>36 OR a*c*d*f*g*h*i*j<>40320) AND ((c<>e OR d=>f) OR a+d+e+f+g+h+i+j<>36 OR a*d*e*f*g*h*i*j<>40320) THEN let t4=t4+1
IF (c=e AND d<f) AND a+b+d+e+f+g+i+j=36 AND a*b*d*e*f*g*i*j=40320 AND ((c<>e OR d=>f) OR a+b+d+e+g+h+i+j<>36 OR a*b*d*e*g*h*i*j<>40320) AND ((c<>e OR d=>f) OR a+b+e+f+g+h+i+j<>36 OR a*b*e*f*g*h*i*j<>40320) AND ((c<>e OR d=>f) OR a+c+d+f+g+h+i+j<>36 OR a*c*d*f*g*h*i*j<>40320) AND ((c<>e OR d=>f) OR a+d+e+f+g+h+i+j<>36 OR a*d*e*f*g*h*i*j<>40320) THEN let t5=t5+1
IF (e=g AND f<h) AND a+c+d+f+g+h+i+j=36 AND a*c*d*f*g*h*i*j=40320 THEN LET u1=u1+1
IF (e=g AND f<h) AND a+b+c+f+g+h+i+j=36 AND a*b*c*f*g*h*i*j=40320 AND ((e<>g OR f=>h) OR a+c+d+e+f+h+i+j<>36 OR a*c*d*e*f*h*i*j<>40320) AND ((e<>g OR f=>h) OR a+c+d+f+g+h+i+j<>36 OR a*c*d*f*g*h*i*j<>40320) THEN LET u3=u3+1
IF (e=g AND f<h) AND a+b+c+d+g+h+i+j=36 AND a*b*c*d*g*h*i*j=40320 AND ((e<>g OR f=>h) OR a+b+c+e+f+h+i+j<>36 OR a*b*c*e*f*h*i*j<>40320) AND ((e<>g OR f=>h) OR a+b+c+f+g+h+i+j<>36 OR a*b*c*f*g*h*i*j<>40320) AND ((e<>g OR f=>h) OR a+c+d+e+f+h+i+j<>36 OR a*c*d*e*f*h*i*j<>40320) AND ((e<>g OR f=>h) OR a+c+d+f+g+h+i+j<>36 OR a*c*d*f*g*h*i*j<>40320) THEN let u5=u5+1
IF (e=g AND f<h) AND a+b+c+d+f+g+i+j=36 AND a*b*c*d*f*g*i*j=40320 AND ((e<>g OR f=>h) OR a+b+c+d+g+h+i+j<>36 OR a*b*c*d*g*h*i*j<>40320) AND ((e<>g OR f=>h) OR a+b+c+e+f+h+i+j<>36 OR a*b*c*e*f*h*i*j<>40320) AND ((e<>g OR f=>h) OR a+b+c+f+g+h+i+j<>36 OR a*b*c*f*g*h*i*j<>40320) AND ((e<>g OR f=>h) OR a+c+d+e+f+h+i+j<>36 OR a*c*d*e*f*h*i*j<>40320) AND ((e<>g OR f=>h) OR a+c+d+f+g+h+i+j<>36 OR a*c*d*f*g*h*i*j<>40320) THEN let u6=u6+1
if (g=i and h<j) and a+c+d+e+f+h+i+j=36 and a*c*d*e*f*h*i*j=40320 then let v1=v1+1
IF (g=i AND h<j) AND a+b+c+e+f+h+i+j=36 AND a*b*c*e*f*h*i*j=40320 AND ((g<>i OR h=>j) OR a+c+d+e+f+g+h+j<>36 OR a*c*d*e*f*g*h*j<>40320) AND ((g<>i OR h=>j) OR a+c+d+e+f+h+i+j<>36 OR a*c*d*e*f*h*i*j<>40320) THEN LET v3=v3+1
IF (g=i AND h<j) AND a+b+c+d+e+h+i+j=36 AND a*b*c*d*e*h*i*j=40320 AND ((g<>i OR h=>j) OR a+b+c+e+f+g+h+j<>36 OR a*b*c*e*f*g*h*j<>40320) AND ((g<>i OR h=>j) OR a+b+c+e+f+h+i+j<>36 OR a*b*c*e*f*h*i*j<>40320) AND ((g<>i OR h=>j) OR a+c+d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|a.flatten.uniq.size==8}

ֹֹۤʤˤȤߥʡ
910ڡ 17:51:21 MAIL:take4310@mobile.email.ne.jp 51800
鯤ο
#51794
>¤ϡǯʸϡˤΥѥǤ

ѥǤ뤳Ȥǧޤ
˿βǡ4!*12288٤䤹Ȥ㼨ƤΤˤ϶Фޤ

ޡȤ˽ʤͤƤޤϢ³ڤ뿴ۤޤ
Ǹϥץ񤱤Ф褤ȡ꤮ޤǼưǹͤ뤳Ȥˤޤ
ʽ黻Ȥץ˽ϤƤ顢˥ץषƤǤ礦
ǸˤϡťФϳ줬ʤ褦˾ʬơޤ񤤤Ʋ򤭤ޤ

ޤ
(A)1ܤ2Ĥ
(B)1ܤ1Ĥ
ʬޤ

(A)1ܤ2Ĥ

1ܤ2Ĥϡ4C2=6̤ꡣ
Τ줾ˤĤơĴ٤ޤ
ɽơ1121ˤȤޤ

(A1)3-4ܡ2-4ܤ2Ĥꡢ1-2ܡ2-4ܤ1Ĥ
(A2)3-4ܡ2-4ܤ3Ĥ
ʬơ줾3-4ܡ2-4ܤ6C2̤ꡢ6C3̤ꡢ޼ơ˹פ夲ޤ
(A1)12̤ꡣ
(A2)6̤ꡣ
顢(A)ξϡ6*(12+6)108̤ꡣ

(B)1ܤ1Ĥ

1ܤ1Ĥϡ4C1=4̤ꡣ
Τ줾ˤĤơĴ٤ޤ
ɽơ11ˤȤޤ

(B1)1ܡ2-4ܤ1Ĥꡢ2-4ܡ2-4ܤ3Ĥ
(B2)2-4ܡ2-4ܤ4Ĥ

(B1)1ܡ2-4ܤ1ˡϡ3C13̤ꡣ
1ܡ2ܤ־ɽơ2-4ܡ2-4ܤ3ĤĴ٤ȡ12̤ꡣ
(B1)ξϡ3*1236̤ꡣ

(B2)ξϡνIJȡ֤֤ο1ĸ餷Ʊǡ
1ܤˣĤξȣĤξʬƱͤˤƲ򤯤ȡ45̤ꡣ

顢(B)ξϡ4*36+45ˡ324̤ꡣ

ΤǤϡ108+324432̤ꡣ
//
911 7:18:34 51801

ʸϤΣξ䡢֤㤢äƤǤʤʡ⹻ѡǽϤ֤פʾСˡ

912ʷ 8:30:09 51802
ֿء׾ι
#51800Ǥޤ
Ԥ㤦ɽ8̤ˤʤΤ롣ڲ

ϡ16Ĥ015ޤǤֹդơ5Ĥӡ
4ǤäǹԤ;ȽǤơԤ夹
Τޤ
ǤäƤԤܤˡ˰Ƥޤ

912ʷ 8:46:52 51803