LoginSignup
0
0

More than 5 years have passed since last update.

ズンドコキヨシでコードゴルフ with Ruby

Posted at

なるべく短く出来るように知恵を絞った結果

z,d=zd=%w(ズン ドコ);p loop.inject(''){|a|break a+'\キ・ヨ・シ!/'if/#{z*4+d}$/=~a;a+zd.sample}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0