2017”N11ŒŽ27“ú

•½¬‚Q‚X”N“xHŠú ‰ž—pî•ñ‹ZpŽÒŽŽŒ±–â‘è –â‚V

–â‚V
fact(n) ‚́A”ñ•‰‚̐®” n ‚ɑ΂µ‚Ä n ‚ÌŠKæ‚ð•Ô‚·B
fact(n) ‚̍ċA“I‚È’è‹`‚Í‚Ç‚ê‚©B

@ƒA@if n0 then 0 else return n × fact(n|1)
@ƒC@if n0 then 0 else return n × fact(n{1)
@ƒE@if n0 then 1 else return n × fact(n|1)
@ƒG@if n0 then 1 else return n × fact(n{1)



“š‚¦‚Í‚±‚¿‚ç
posted by ƒtƒ@[ƒXƒgƒ}ƒNƒ at 08:03| Comment(0) | H29H‰ž—pî•ñ‹ZpŽÒ