풀이 : N 찍기와 비슷하지만 반대로 숫자가 작아지게만 하시면 됩니다.
코드
count = gets.to_i (0..count-1).each do |i| puts count-i end
코드 링크