過去ログ

ゴンとも
容器に直方体xは20箇所置けるが
1から20まで番号を振り被らないようにして
十進Basic で

print time$
for a=1 to 20
for b=1 to 20
if b=a then goto 50
if a=1 and (b=3 or b=4 or b=13 or b=16) then goto 50
if a=2 and (b=3 or b=4 or b=14 or b=15) then goto 50
if a=3 and (b=1 or b=2 or b=13 or b=14) then goto 50
if a=4 and (b=1 or b=2 or b=15 or b=16) then goto 50
if a=5 and (b=7 or b=8 or b=13 or b=16 or b=17 or b=20) then goto 50
if a=6 and (b=7 or b=8 or b=14 or b=15 or b=18 or b=19) then goto 50
if a=7 and (b=5 or b=6 or b=13 or b=14 or b=17 or b=18) then goto 50
if a=8 and (b=5 or b=6 or b=15 or b=16 or b=19 or b=20) then goto 50
if a=9 and (b=11 or b=12 or b=17 or b=20) then goto 50
if a=10 and (b=11 or b=12 or b=18 or b=19) then goto 50
if a=11 and (b=9 or b=10 or b=17 or b=18) then goto 50
if a=12 and (b=9 or b=10 or b=19 or b=20) then goto 50
if a=13 and (b=1 or b=3 or b=5 or b=7 or b=17) then goto 50
if a=14 and (b=2 or b=3 or b=6 or b=7 or b=18) then goto 50
if a=15 and (b=2 or b=4 or b=6 or b=8 or b=19) then goto 50
if a=16 and (b=1 or b=4 or b=5 or b=8 or b=20) then goto 50
if a=17 and (b=5 or b=7 or b=9 or b=11 or b=13) then goto 50
if a=18 and (b=6 or b=7 or b=10 or b=11 or b=14) then goto 50
if a=19 and (b=6 or b=8 or b=10 or b=12 or b=15) then goto 50
if a=20 and (b=5 or b=8 or b=9 or b=12 or b=16) then goto 50
for c=1 to 20
if c=a or c=b then goto 40
if a=1 and (c=3 or c=4 or c=13 or c=16) then goto 40
if a=2 and (c=3 or c=4 or c=14 or c=15) then goto 40
if a=3 and (c=1 or c=2 or c=13 or c=14) then goto 40
if a=4 and (c=1 or c=2 or c=15 or c=16) then goto 40
if a=5 and (c=7 or c=8 or c=13 or c=16 or c=17 or c=20) then goto 40
if a=6 and (c=7 or c=8 or c=14 or c=15 or c=18 or c=19) then goto 40
if a=7 and (c=5 or c=6 or c=13 or c=14 or c=17 or c=18) then goto 40
if a=8 and (c=5 or c=6 or c=15 or c=16 or c=19 or c=20) then goto 40
if a=9 and (c=11 or c=12 or c=17 or c=20) then goto 40
if a=10 and (c=11 or c=12 or c=18 or c=19) then goto 40
if a=11 and (c=9 or c=10 or c=17 or c=18) then goto 40
if a=12 and (c=9 or c=10 or c=19 or c=20) then goto 40
if a=13 and (c=1 or c=3 or c=5 or c=7 or c=17) then goto 40
if a=14 and (c=2 or c=3 or c=6 or c=7 or c=18) then goto 40
if a=15 and (c=2 or c=4 or c=6 or c=8 or c=19) then goto 40
if a=16 and (c=1 or c=4 or c=5 or c=8 or c=20) then goto 40
if a=17 and (c=5 or c=7 or c=9 or c=11 or c=13) then goto 40
if a=18 and (c=6 or c=7 or c=10 or c=11 or c=14) then goto 40
if a=19 and (c=6 or c=8 or c=10 or c=12 or c=15) then goto 40
if a=20 and (c=5 or c=8 or c=9 or c=12 or c=16) then goto 40
if b=1 and (c=3 or c=4 or c=13 or c=16) then goto 40
if b=2 and (c=3 or c=4 or c=14 or c=15) then goto 40
if b=3 and (c=1 or c=2 or c=13 or c=14) then goto 40
if b=4 and (c=1 or c=2 or c=15 or c=16) then goto 40
if b=5 and (c=7 or c=8 or c=13 or c=16 or c=17 or c=20) then goto 40
if b=6 and (c=7 or c=8 or c=14 or c=15 or c=18 or c=19) then goto 40
if b=7 and (c=5 or c=6 or c=13 or c=14 or c=17 or c=18) then goto 40
if b=8 and (c=5 or c=6 or c=15 or c=16 or c=19 or c=20) then goto 40
if b=9 and (c=11 or c=12 or c=17 or c=20) then goto 40
if b=10 and (c=11 or c=12 or c=18 or c=19) then goto 40
if b=11 and (c=9 or c=10 or c=17 or c=18) then goto 40
if b=12 and (c=9 or c=10 or c=19 or c=20) then goto 40
if b=13 and (c=1 or c=3 or c=5 or c=7 or c=17) then goto 40
if b=14 and (c=2 or c=3 or c=6 or c=7 or c=18) then goto 40
if b=15 and (c=2 or c=4 or c=6 or c=8 or c=19) then goto 40
if b=16 and (c=1 or c=4 or c=5 or c=8 or c=20) then goto 40
if b=17 and (c=5 or c=7 or c=9 or c=11 or c=13) then goto 40
if b=18 and (c=6 or c=7 or c=10 or c=11 or c=14) then goto 40
if b=19 and (c=6 or c=8 or c=10 or c=12 or c=15) then goto 40
if b=20 and (c=5 or c=8 or c=9 or c=12 or c=16) then goto 40
for d=1 to 20
if d=a or d=b or d=c then goto 30
if a=1 and (d=3 or d=4 or d=13 or d=16) then goto 30
if a=2 and (d=3 or d=4 or d=14 or d=15) then goto 30
if a=3 and (d=1 or d=2 or d=13 or d=14) then goto 30
if a=4 and (d=1 or d=2 or d=15 or d=16) then goto 30
if a=5 and (d=7 or d=8 or d=13 or d=16 or d=17 or d=20) then goto 30
if a=6 and (d=7 or d=8 or d=14 or d=15 or d=18 or d=19) then goto 30
if a=7 and (d=5 or d=6 or d=13 or d=14 or d=17 or d=18) then goto 30
if a=8 and (d=5 or d=6 or d=15 or d=16 or d=19 or d=20) then goto 30
if a=9 and (d=11 or d=12 or d=17 or d=20) then goto 30
if a=10 and (d=11 or d=12 or d=18 or d=19) then goto 30
if a=11 and (d=9 or d=10 or d=17 or d=18) then goto 30
if a=12 and (d=9 or d=10 or d=19 or d=20) then goto 30
if a=13 and (d=1 or d=3 or d=5 or d=7 or d=17) then goto 30
if a=14 and (d=2 or d=3 or d=6 or d=7 or d=18) then goto 30
if a=15 and (d=2 or d=4 or d=6 or d=8 or d=19) then goto 30
if a=16 and (d=1 or d=4 or d=5 or d=8 or d=20) then goto 30
if a=17 and (d=5 or d=7 or d=9 or d=11 or d=13) then goto 30
if a=18 and (d=6 or d=7 or d=10 or d=11 or d=14) then goto 30
if a=19 and (d=6 or d=8 or d=10 or d=12 or d=15) then goto 30
if a=20 and (d=5 or d=8 or d=9 or d=12 or d=16) then goto 30
if b=1 and (d=3 or d=4 or d=13 or d=16) then goto 30
if b=2 and (d=3 or d=4 or d=14 or d=15) then goto 30
if b=3 and (d=1 or d=2 or d=13 or d=14) then goto 30
if b=4 and (d=1 or d=2 or d=15 or d=16) then goto 30
if b=5 and (d=7 or d=8 or d=13 or d=16 or d=17 or d=20) then goto 30
if b=6 and (d=7 or d=8 or d=14 or d=15 or d=18 or d=19) then goto 30
if b=7 and (d=5 or d=6 or d=13 or d=14 or d=17 or d=18) then goto 30
if b=8 and (d=5 or d=6 or d=15 or d=16 or d=19 or d=20) then goto 30
if b=9 and (d=11 or d=12 or d=17 or d=20) then goto 30
if b=10 and (d=11 or d=12 or d=18 or d=19) then goto 30
if b=11 and (d=9 or d=10 or d=17 or d=18) then goto 30
if b=12 and (d=9 or d=10 or d=19 or d=20) then goto 30
if b=13 and (d=1 or d=3 or d=5 or d=7 or d=17) then goto 30
if b=14 and (d=2 or d=3 or d=6 or d=7 or d=18) then goto 30
if b=15 and (d=2 or d=4 or d=6 or d=8 or d=19) then goto 30
if b=16 and (d=1 or d=4 or d=5 or d=8 or d=20) then goto 30
if b=17 and (d=5 or d=7 or d=9 or d=11 or d=13) then goto 30
if b=18 and (d=6 or d=7 or d=10 or d=11 or d=14) then goto 30
if b=19 and (d=6 or d=8 or d=10 or d=12 or d=15) then goto 30
if b=20 and (d=5 or d=8 or d=9 or d=12 or d=16) then goto 30
if c=1 and (d=3 or d=4 or d=13 or d=16) then goto 30
if c=2 and (d=3 or d=4 or d=14 or d=15) then goto 30
if c=3 and (d=1 or d=2 or d=13 or d=14) then goto 30
if c=4 and (d=1 or d=2 or d=15 or d=16) then goto 30
if c=5 and (d=7 or d=8 or d=13 or d=16 or d=17 or d=20) then goto 30
if c=6 and (d=7 or d=8 or d=14 or d=15 or d=18 or d=19) then goto 30
if c=7 and (d=5 or d=6 or d=13 or d=14 or d=17 or d=18) then goto 30
if c=8 and (d=5 or d=6 or d=15 or d=16 or d=19 or d=20) then goto 30
if c=9 and (d=11 or d=12 or d=17 or d=20) then goto 30
if c=10 and (d=11 or d=12 or d=18 or d=19) then goto 30
if c=11 and (d=9 or d=10 or d=17 or d=18) then goto 30
if c=12 and (d=9 or d=10 or d=19 or d=20) then goto 30
if c=13 and (d=1 or d=3 or d=5 or d=7 or d=17) then goto 30
if c=14 and (d=2 or d=3 or d=6 or d=7 or d=18) then goto 30
if c=15 and (d=2 or d=4 or d=6 or d=8 or d=19) then goto 30
if c=16 and (d=1 or d=4 or d=5 or d=8 or d=20) then goto 30
if c=17 and (d=5 or d=7 or d=9 or d=11 or d=13) then goto 30
if c=18 and (d=6 or d=7 or d=10 or d=11 or d=14) then goto 30
if c=19 and (d=6 or d=8 or d=10 or d=12 or d=15) then goto 30
if c=20 and (d=5 or d=8 or d=9 or d=12 or d=16) then goto 30
for e=1 to 20
if e=a or e=b or e=c or e=d then goto 20
if a=1 and (e=3 or e=4 or e=13 or e=16) then goto 20
if a=2 and (e=3 or e=4 or e=14 or e=15) then goto 20
if a=3 and (e=1 or e=2 or e=13 or e=14) then goto 20
if a=4 and (e=1 or e=2 or e=15 or e=16) then goto 20
if a=5 and (e=7 or e=8 or e=13 or e=16 or e=17 or e=20) then goto 20
if a=6 and (e=7 or e=8 or e=14 or e=15 or e=18 or e=19) then goto 20
if a=7 and (e=5 or e=6 or e=13 or e=14 or e=17 or e=18) then goto 20
if a=8 and (e=5 or e=6 or e=15 or e=16 or e=19 or e=20) then goto 20
if a=9 and (e=11 or e=12 or e=17 or e=20) then goto 20
if a=10 and (e=11 or e=12 or e=18 or e=19) then goto 20
if a=11 and (e=9 or e=10 or e=17 or e=18) then goto 20
if a=12 and (e=9 or e=10 or e=19 or e=20) then goto 20
if a=13 and (e=1 or e=3 or e=5 or e=7 or e=17) then goto 20
if a=14 and (e=2 or e=3 or e=6 or e=7 or e=18) then goto 20
if a=15 and (e=2 or e=4 or e=6 or e=8 or e=19) then goto 20
if a=16 and (e=1 or e=4 or e=5 or e=8 or e=20) then goto 20
if a=17 and (e=5 or e=7 or e=9 or e=11 or e=13) then goto 20
if a=18 and (e=6 or e=7 or e=10 or e=11 or e=14) then goto 20
if a=19 and (e=6 or e=8 or e=10 or e=12 or e=15) then goto 20
if a=20 and (e=5 or e=8 or e=9 or e=12 or e=16) then goto 20
if b=1 and (e=3 or e=4 or e=13 or e=16) then goto 20
if b=2 and (e=3 or e=4 or e=14 or e=15) then goto 20
if b=3 and (e=1 or e=2 or e=13 or e=14) then goto 20
if b=4 and (e=1 or e=2 or e=15 or e=16) then goto 20
if b=5 and (e=7 or e=8 or e=13 or e=16 or e=17 or e=20) then goto 20
if b=6 and (e=7 or e=8 or e=14 or e=15 or e=18 or e=19) then goto 20
if b=7 and (e=5 or e=6 or e=13 or e=14 or e=17 or e=18) then goto 20
if b=8 and (e=5 or e=6 or e=15 or e=16 or e=19 or e=20) then goto 20
if b=9 and (e=11 or e=12 or e=17 or e=20) then goto 20
if b=10 and (e=11 or e=12 or e=18 or e=19) then goto 20
if b=11 and (e=9 or e=10 or e=17 or e=18) then goto 20
if b=12 and (e=9 or e=10 or e=19 or e=20) then goto 20
if b=13 and (e=1 or e=3 or e=5 or e=7 or e=17) then goto 20
if b=14 and (e=2 or e=3 or e=6 or e=7 or e=18) then goto 20
if b=15 and (e=2 or e=4 or e=6 or e=8 or e=19) then goto 20
if b=16 and (e=1 or e=4 or e=5 or e=8 or e=20) then goto 20
if b=17 and (e=5 or e=7 or e=9 or e=11 or e=13) then goto 20
if b=18 and (e=6 or e=7 or e=10 or e=11 or e=14) then goto 20
if b=19 and (e=6 or e=8 or e=10 or e=12 or e=15) then goto 20
if b=20 and (e=5 or e=8 or e=9 or e=12 or e=16) then goto 20
if c=1 and (e=3 or e=4 or e=13 or e=16) then goto 20
if c=2 and (e=3 or e=4 or e=14 or e=15) then goto 20
if c=3 and (e=1 or e=2 or e=13 or e=14) then goto 20
if c=4 and (e=1 or e=2 or e=15 or e=16) then goto 20
if c=5 and (e=7 or e=8 or e=13 or e=16 or e=17 or e=20) then goto 20
if c=6 and (e=7 or e=8 or e=14 or e=15 or e=18 or e=19) then goto 20
if c=7 and (e=5 or e=6 or e=13 or e=14 or e=17 or e=18) then goto 20
if c=8 and (e=5 or e=6 or e=15 or e=16 or e=19 or e=20) then goto 20
if c=9 and (e=11 or e=12 or e=17 or e=20) then goto 20
if c=10 and (e=11 or e=12 or e=18 or e=19) then goto 20
if c=11 and (e=9 or e=10 or e=17 or e=18) then goto 20
if c=12 and (e=9 or e=10 or e=19 or e=20) then goto 20
if c=13 and (e=1 or e=3 or e=5 or e=7 or e=17) then goto 20
if c=14 and (e=2 or e=3 or e=6 or e=7 or e=18) then goto 20
if c=15 and (e=2 or e=4 or e=6 or e=8 or e=19) then goto 20
if c=16 and (e=1 or e=4 or e=5 or e=8 or e=20) then goto 20
if c=17 and (e=5 or e=7 or e=9 or e=11 or e=13) then goto 20
if c=18 and (e=6 or e=7 or e=10 or e=11 or e=14) then goto 20
if c=19 and (e=6 or e=8 or e=10 or e=12 or e=15) then goto 20
if c=20 and (e=5 or e=8 or e=9 or e=12 or e=16) then goto 20
if d=1 and (e=3 or e=4 or e=13 or e=16) then goto 20
if d=2 and (e=3 or e=4 or e=14 or e=15) then goto 20
if d=3 and (e=1 or e=2 or e=13 or e=14) then goto 20
if d=4 and (e=1 or e=2 or e=15 or e=16) then goto 20
if d=5 and (e=7 or e=8 or e=13 or e=16 or e=17 or e=20) then goto 20
if d=6 and (e=7 or e=8 or e=14 or e=15 or e=18 or e=19) then goto 20
if d=7 and (e=5 or e=6 or e=13 or e=14 or e=17 or e=18) then goto 20
if d=8 and (e=5 or e=6 or e=15 or e=16 or e=19 or e=20) then goto 20
if d=9 and (e=11 or e=12 or e=17 or e=20) then goto 20
if d=10 and (e=11 or e=12 or e=18 or e=19) then goto 20
if d=11 and (e=9 or e=10 or e=17 or e=18) then goto 20
if d=12 and (e=9 or e=10 or e=19 or e=20) then goto 20
if d=13 and (e=1 or e=3 or e=5 or e=7 or e=17) then goto 20
if d=14 and (e=2 or e=3 or e=6 or e=7 or e=18) then goto 20
if d=15 and (e=2 or e=4 or e=6 or e=8 or e=19) then goto 20
if d=16 and (e=1 or e=4 or e=5 or e=8 or e=20) then goto 20
if d=17 and (e=5 or e=7 or e=9 or e=11 or e=13) then goto 20
if d=18 and (e=6 or e=7 or e=10 or e=11 or e=14) then goto 20
if d=19 and (e=6 or e=8 or e=10 or e=12 or e=15) then goto 20
if d=20 and (e=5 or e=8 or e=9 or e=12 or e=16) then goto 20
for f=1 to 20
if f=a or f=b or f=c or f=d or f=e then goto 10
if a=1 and (f=3 or f=4 or f=13 or f=16) then goto 10
if a=2 and (f=3 or f=4 or f=14 or f=15) then goto 10
if a=3 and (f=1 or f=2 or f=13 or f=14) then goto 10
if a=4 and (f=1 or f=2 or f=15 or f=16) then goto 10
if a=5 and (f=7 or f=8 or f=13 or f=16 or f=17 or f=20) then goto 10
if a=6 and (f=7 or f=8 or f=14 or f=15 or f=18 or f=19) then goto 10
if a=7 and (f=5 or f=6 or f=13 or f=14 or f=17 or f=18) then goto 10
if a=8 and (f=5 or f=6 or f=15 or f=16 or f=19 or f=20) then goto 10
if a=9 and (f=11 or f=12 or f=17 or f=20) then goto 10
if a=10 and (f=11 or f=12 or f=18 or f=19) then goto 10
if a=11 and (f=9 or f=10 or f=17 or f=18) then goto 10
if a=12 and (f=9 or f=10 or f=19 or f=20) then goto 10
if a=13 and (f=1 or f=3 or f=5 or f=7 or f=17) then goto 10
if a=14 and (f=2 or f=3 or f=6 or f=7 or f=18) then goto 10
if a=15 and (f=2 or f=4 or f=6 or f=8 or f=19) then goto 10
if a=16 and (f=1 or f=4 or f=5 or f=8 or f=20) then goto 10
if a=17 and (f=5 or f=7 or f=9 or f=11 or f=13) then goto 10
if a=18 and (f=6 or f=7 or f=10 or f=11 or f=14) then goto 10
if a=19 and (f=6 or f=8 or f=10 or f=12 or f=15) then goto 10
if a=20 and (f=5 or f=8 or f=9 or f=12 or f=16) then goto 10
if b=1 and (f=3 or f=4 or f=13 or f=16) then goto 10
if b=2 and (f=3 or f=4 or f=14 or f=15) then goto 10
if b=3 and (f=1 or f=2 or f=13 or f=14) then goto 10
if b=4 and (f=1 or f=2 or f=15 or f=16) then goto 10
if b=5 and (f=7 or f=8 or f=13 or f=16 or f=17 or f=20) then goto 10
if b=6 and (f=7 or f=8 or f=14 or f=15 or f=18 or f=19) then goto 10
if b=7 and (f=5 or f=6 or f=13 or f=14 or f=17 or f=18) then goto 10
if b=8 and (f=5 or f=6 or f=15 or f=16 or f=19 or f=20) then goto 10
if b=9 and (f=11 or f=12 or f=17 or f=20) then goto 10
if b=10 and (f=11 or f=12 or f=18 or f=19) then goto 10
if b=11 and (f=9 or f=10 or f=17 or f=18) then goto 10
if b=12 and (f=9 or f=10 or f=19 or f=20) then goto 10
if b=13 and (f=1 or f=3 or f=5 or f=7 or f=17) then goto 10
if b=14 and (f=2 or f=3 or f=6 or f=7 or f=18) then goto 10
if b=15 and (f=2 or f=4 or f=6 or f=8 or f=19) then goto 10
if b=16 and (f=1 or f=4 or f=5 or f=8 or f=20) then goto 10
if b=17 and (f=5 or f=7 or f=9 or f=11 or f=13) then goto 10
if b=18 and (f=6 or f=7 or f=10 or f=11 or f=14) then goto 10
if b=19 and (f=6 or f=8 or f=10 or f=12 or f=15) then goto 10
if b=20 and (f=5 or f=8 or f=9 or f=12 or f=16) then goto 10
if c=1 and (f=3 or f=4 or f=13 or f=16) then goto 10
if c=2 and (f=3 or f=4 or f=14 or f=15) then goto 10
if c=3 and (f=1 or f=2 or f=13 or f=14) then goto 10
if c=4 and (f=1 or f=2 or f=15 or f=16) then goto 10
if c=5 and (f=7 or f=8 or f=13 or f=16 or f=17 or f=20) then goto 10
if c=6 and (f=7 or f=8 or f=14 or f=15 or f=18 or f=19) then goto 10
if c=7 and (f=5 or f=6 or f=13 or f=14 or f=17 or f=18) then goto 10
if c=8 and (f=5 or f=6 or f=15 or f=16 or f=19 or f=20) then goto 10
if c=9 and (f=11 or f=12 or f=17 or f=20) then goto 10
if c=10 and (f=11 or f=12 or f=18 or f=19) then goto 10
if c=11 and (f=9 or f=10 or f=17 or f=18) then goto 10
if c=12 and (f=9 or f=10 or f=19 or f=20) then goto 10
if c=13 and (f=1 or f=3 or f=5 or f=7 or f=17) then goto 10
if c=14 and (f=2 or f=3 or f=6 or f=7 or f=18) then goto 10
if c=15 and (f=2 or f=4 or f=6 or f=8 or f=19) then goto 10
if c=16 and (f=1 or f=4 or f=5 or f=8 or f=20) then goto 10
if c=17 and (f=5 or f=7 or f=9 or f=11 or f=13) then goto 10
if c=18 and (f=6 or f=7 or f=10 or f=11 or f=14) then goto 10
if c=19 and (f=6 or f=8 or f=10 or f=12 or f=15) then goto 10
if c=20 and (f=5 or f=8 or f=9 or f=12 or f=16) then goto 10
if d=1 and (f=3 or f=4 or f=13 or f=16) then goto 10
if d=2 and (f=3 or f=4 or f=14 or f=15) then goto 10
if d=3 and (f=1 or f=2 or f=13 or f=14) then goto 10
if d=4 and (f=1 or f=2 or f=15 or f=16) then goto 10
if d=5 and (f=7 or f=8 or f=13 or f=16 or f=17 or f=20) then goto 10
if d=6 and (f=7 or f=8 or f=14 or f=15 or f=18 or f=19) then goto 10
if d=7 and (f=5 or f=6 or f=13 or f=14 or f=17 or f=18) then goto 10
if d=8 and (f=5 or f=6 or f=15 or f=16 or f=19 or f=20) then goto 10
if d=9 and (f=11 or f=12 or f=17 or f=20) then goto 10
if d=10 and (f=11 or f=12 or f=18 or f=19) then goto 10
if d=11 and (f=9 or f=10 or f=17 or f=18) then goto 10
if d=12 and (f=9 or f=10 or f=19 or f=20) then goto 10
if d=13 and (f=1 or f=3 or f=5 or f=7 or f=17) then goto 10
if d=14 and (f=2 or f=3 or f=6 or f=7 or f=18) then goto 10
if d=15 and (f=2 or f=4 or f=6 or f=8 or f=19) then goto 10
if d=16 and (f=1 or f=4 or f=5 or f=8 or f=20) then goto 10
if d=17 and (f=5 or f=7 or f=9 or f=11 or f=13) then goto 10
if d=18 and (f=6 or f=7 or f=10 or f=11 or f=14) then goto 10
if d=19 and (f=6 or f=8 or f=10 or f=12 or f=15) then goto 10
if d=20 and (f=5 or f=8 or f=9 or f=12 or f=16) then goto 10
if e=1 and (f=3 or f=4 or f=13 or f=16) then goto 10
if e=2 and (f=3 or f=4 or f=14 or f=15) then goto 10
if e=3 and (f=1 or f=2 or f=13 or f=14) then goto 10
if e=4 and (f=1 or f=2 or f=15 or f=16) then goto 10
if e=5 and (f=7 or f=8 or f=13 or f=16 or f=17 or f=20) then goto 10
if e=6 and (f=7 or f=8 or f=14 or f=15 or f=18 or f=19) then goto 10
if e=7 and (f=5 or f=6 or f=13 or f=14 or f=17 or f=18) then goto 10
if e=8 and (f=5 or f=6 or f=15 or f=16 or f=19 or f=20) then goto 10
if e=9 and (f=11 or f=12 or f=17 or f=20) then goto 10
if e=10 and (f=11 or f=12 or f=18 or f=19) then goto 10
if e=11 and (f=9 or f=10 or f=17 or f=18) then goto 10
if e=12 and (f=9 or f=10 or f=19 or f=20) then goto 10
if e=13 and (f=1 or f=3 or f=5 or f=7 or f=17) then goto 10
if e=14 and (f=2 or f=3 or f=6 or f=7 or f=18) then goto 10
if e=15 and (f=2 or f=4 or f=6 or f=8 or f=19) then goto 10
if e=16 and (f=1 or f=4 or f=5 or f=8 or f=20) then goto 10
if e=17 and (f=5 or f=7 or f=9 or f=11 or f=13) then goto 10
if e=18 and (f=6 or f=7 or f=10 or f=11 or f=14) then goto 10
if e=19 and (f=6 or f=8 or f=10 or f=12 or f=15) then goto 10
if e=20 and (f=5 or f=8 or f=9 or f=12 or f=16) 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/fact(6)
print time$
end

f9押して
05:37:36
32
05:37:39 
豊川市   9月9日(木) 5:41:02   MAIL:fttnm528@ybb.ne.jp   50827

過去問題一覧へ戻る