Comment detail

LL Golf Hole 5 - 最上位の桁を数え上げる (Nested Flatten)

This comment is reply for 7202 匿名: "の方が微妙に短いようですね。(LL Golf Hole 5 - 最上位の桁を数え上げる). Go to thread root.

powを使った方が短いようですが一応載せてみます。

1
<?for($a=0;$a<=$argv[1];)ereg('^.0*$',$a++,$m)&&print"$m[0] ";

Index

Feed

Other

Link

Pathtraq

loading...