Comment detail

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

This comment is reply for 7252 だいら: 短くする楽しみが全く無いな。(LL Golf Hole 6 - 10進数を2進数に基数変換する). Go to thread root.

変換先指定対応版
1
<?$a=split(' ',fgets(STDIN));echo base_convert($a[0],10,$a[1]>0?$a[1]:2);

Index

Feed

Other

Link

Pathtraq

loading...