← Back to List

20499번: Darius님 한타 안 함? ↗

Solutions

Ruby
142 B | 142 chars
kill, death, assist = gets.split("/").map { |str| str.to_i }

if kill + assist < death or death == 0
    puts "hasu"
else
    puts "gosu"
end