← Back to List

20492번: 세금 ↗

Solutions

Ruby
77 B | 77 chars
price = gets.to_i

puts "%d %d" % [price*78/100, price*4/5 + price/5*78/100]