|
ゴンとも |
|
十進basic で
アイ=a,イウ=b,ウエ=c,エオ=d,オカ=e,カキ=f,キク=g,クケ=h,ケコ=i 0がつながってない,1がつながっているとして for a=0 to 1 for b=0 to 1 if a+b=2 then goto 80 for c=0 to 1 if b+c=2 then goto 70 for d=0 to 1 if c+d=2 then goto 60 for e=0 to 1 if d+e=2 then goto 50 for f=0 to 1 if e+f=2 then goto 40 for g=0 to 1 if f+g=2 then goto 30 for h=0 to 1 if g+h=2 then goto 20 for i=0 to 1 if h+i=2 then goto 10 let s=s+1 10 next i 20 next h 30 next g 40 next f 50 next e 60 next d 70 next c 80 next b 90 next a print s end f9押して 89・・・・・・(答え) |
|
豊川市
12月10日(木) 12:22:43
MAIL:fttnm528@ybb.ne.jp 43969 |