2012-03-09から1日間の記事一覧

Decimal To Binary

2進数に変換。これは簡単。 正答率82% ((316.0/(316+68))*100).round 設問 Given a decimal (base 10) number, print out its binary representation.Input sample:File containing positive whole decimal numbers, one per line. e.g. 2 10 67Output sampl…