|
ゴンとも |
|
十進basic で5桁をabcdeとおくと
for a=1 to 9 for b=0 to 9 if b=a then goto 40 for c=0 to 9 if c=b then goto 30 for d=0 to 9 if d=c then goto 20 for e=0 to 0 if e=d then goto 10 let s=s+1 10 next e 20 next d 30 next c 40 next b 50 next a print s end f9押して 5904・・・・・・(答え) |
|
豊川市
2月6日(木) 1:45:02
41386 |