paiza 恋するハッカソン cute衣装取得のために初心者が気合で書いたコード ruby
cute衣装.rb
n , m = gets.split.map(&:to_i)
# nはスタッフの人数
# m はパックに入っているアメ玉の数
num = m % n
if num == 0
puts "ok"
else
puts "ng"
end
Author And Source
この問題について(paiza 恋するハッカソン cute衣装取得のために初心者が気合で書いたコード ruby), 我々は、より多くの情報をここで見つけました https://qiita.com/Thenagao72/items/21baa553193ffa59ba42著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .