Add tags

Add tags to the following comment

同じようなアルゴリズムをRubyで書いてみましたが、イマイチ・・・to_i, to_i, to_s, to_i ...

1
2
3
(('1' * gets.to_i).to_i ** 2).to_s.scan(/./) do |i|
    puts "#{'*' * i.to_i}\n"
end

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...