pastebin

gets.split.map
  1. k = gets.to_i
  2. a,b = gets.split.map(&:to_i)
  3. if(a <= ((b / k) * k))
  4.         puts 'OK'
  5. else
  6.         puts 'NG'
  7. end
Parsed in 0.003 seconds