Ȥ
Basic

FOR a=1 to 10
FOR b=a+1 to 10
if b-a>2 then goto 50
FOR c=b+1 to 10
if c-b>2 then goto 40
FOR d=c+1 to 10
if d-c>2 then goto 30
FOR e=d+1 to 10
if e-d>2 then goto 20
FOR f=e+1 to 10
if f-e>2 then goto 10
let s=s+1
10 next f
20 next e
30 next d
40 next c
50 next b
60 next a
print s
end

f9ơ80()
˭ԡ 818ڡ 0:09:44 MAIL:fttnm528@ybb.ne.jp 51762
٥륯åĥ
ƻ5Ĥκ񤭽ФƤ줾׻ޤ
11111155
111125420
11122542330
11222542220
12222515
80̤ˤʤޤ
818ڡ 0:13:32 51763
ǯ
16δ֤5ս1ο
ǽ餬15C0+5C1+5C2+5C3+5C4
ǽ餬25C0+5C1+5C2+5C3
ǽ餬35C0+5C1+5C2
ǽ餬45C0+5C1
ǽ餬55C0
­80

ǽϾˤȤΤɤȤơ546äƤޤޤ
ɤ֤ƴְ㤤˵Ť
818ڡ 0:26:11 51764
鯤ο
դξοФ褤

ФκǾͤǾʬ
Ǿ=5ΤȤͤ10ˤʤꡢ٤礦Ĥκ2Ȥʤ֤0Ĥξ硢5C01̤
Ǿ=4ΤȤͤ9ޤ10ˤʤꡢ줾졢٤礦Ĥκ2Ȥʤ֤0Ĥξ1ĤξбΤǡ
0C5+1C51+56̤
ʲƱͤ˹ͤơ
Ǿ=3ΤȤ0C5+1C5+2C516̤
Ǿ=2ΤȤ0C5+1C5+2C5+3C526̤
Ǿ=1ΤȤ0C5+1C5+2C5+3C5+4C531̤
ƹפ80̤ꡣ
//

818ڡ 0:26:17 51765
鯤ο
#51765
椫combinationκդˤʤäƤޤ
818ڡ 0:27:22 51766
ֿء׾ι
ǽοʬƿޤ
818ڡ 2:51:34 51767
ֿء׾ι
ˤäơңǤ
p [1,2].repeated_permutation(5).map{|x|x.sum}.map{|y|y<10?(10-y):0}.sum
818ڡ 7:21:35 51768
ֿء׾ι
̤Τ⤦ġƵƤӽФǡޤϣ­Ƥ椯ˡǡ

$c=0
def r(s,n)#ƤӽФؿǤ
if n<5 then r(s+1,n+1);r(s+2,n+1)else if s<11 then $c+=1 end end
end

#ǽο15ޤǤξǤ줾߷פޤ
for i in(1..5);r(i,0) end
p $c
818ڡ 7:48:31 51769
ֿء׾ι
#51759 ̵̾

դƤޤǡֻ٤ʤޤ
https://www.geogebra.org/m/dfnshfnn

ǡLBCKJࣳǵޤ
LBCι⤵Ͽޤ̿ޤǡͥ饦ǵޤ
818ڡ 9:53:18 51770
⡼ޥ
äȤ...^^;;

6Ĥοκʬ...
1x5=5...Ƭ1,2,3,4,55*1=5
1x4+2x1=6...Ƭ1,2,3,44*5!/4!=20
1x3+2x2=7...Ƭ1,2,33*5!/(3!2!)=30
1x2+2x3=8...Ƭ1,22*5!/(2!3!)=20
1x1+2x4=9...Ƭ1Τߡ1*5!/4!=5
2x5 10ĶΤǤʤ...

=5+20+30+20+5=80

٥륯åĥͤƱǤ Orz
֤ꤹ...^^;;
818ڡ 14:18:06 51771
Ȼ
ͤʤΤǤ
5C05C15C2 5C35C41 80
818ڡ 18:12:30 51772
Ȼ
ͤʤΤǤ
5C05C15C2 5C35C41 80
818ڡ 23:23:07 51773
Sunachu
6δx5ξx2˻Ĥ4Ĥ򺹤ο֤Ϻ1ġξƤ¤ʤ
ƤAƤBƹͤ롣
ޤABȤ01ξϡ7C4=35̤
A2B01ξϡ6C2=15̤ꡢABդƱͤʤΤǹ碌30̤
A2B2ξϡ1̤
A3B01ξϡ6̤ꡢABդƱͤʤΤǹ碌12̤
A4ξϡ1̤ꡢABդƱͤʤΤǹ碌2̤
­80̤
821 18:47:36 51774
ֿء׾ι
Scratchäơץߥ󥰤ˤʤʹơȤäƤߤޤ
Τ˥르ꥺκܤȤդǤ

ʤФǭ㤨Ƥߤޤ
10ʤʤʤǤФꤹ㤤ޤ

https://scratch.mit.edu/projects/723818783

822ʷ 17:53:39 51775