puts$<.map{|e|n,*a=e.split.map &:to_i;n*2*a[0]>a.reduce(:+)?:Pass: :Fail}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page