嗨,我是 Fly,用 Ruby 寫 Chatbot 並挑戰30天分享心得
為確保不會沒靈感
每日含 Ruby 解題增加內容
https://www.hackerrank.com/domains/tutorials/30-days-of-code
i = 4
d = 4.0
s = 'HackerRank '
# Declare second integer, double, and String variables.
i1=ARGF.readline
d1=ARGF.readline
s1=ARGF.readline
# 也可寫成
i1,d1,s1=ARGF.readlines