Comment detail

LL Golf Hole 6 - 10進数を2進数に基数変換する (Nested Flatten)

This comment is reply for 7229 leque: 標準入力から数値・基数の順で。 R5RS...(LL Golf Hole 6 - 10進数を2進数に基数変換する). Go to thread root.

Scheme だと引き数の評価順序が規定されていないのでこっちの方が行儀がいいかな。入力は基数・数値の順に。

1
(let1 n(read)(print(number->string(read)n)))

Index

Feed

Other

Link

Pathtraq

loading...