class Array
	def accum
		inject([0]){|a, x| a + [a[-1] + x]}
	end

	def accum!
		(1..size-1).each{|i|
			self[i] += self[i-1]
		}
		self.unshift(0)
	end

	def accum_2d
		ac = map{|r| r.accum}
		(1..size-1).each{|i|
			(1..ac[0].size-1).each{|j|
				ac[i][j] += ac[i-1][j]
			}
		}
		ac.unshift([0] * ac[0].size)
		ac
	end

	def accum_2d!
		each{|r| r.accum!}
		(1..size-1).each{|i|
			(1..self[0].size-1).each{|j|
				self[i][j] += self[i-1][j]
			}
		}
		unshift([0] * self[0].size)
	end
		
	def bsearch_first_index(l = 0, r = size - 1, &pred)
		return nil if l > r
		c = (l + r) / 2 
		if pred[self[c]]
			bsearch_first_index(l, c-1, &pred) || c
		else
			bsearch_first_index(c+1, r, &pred)
		end
	end

	def bsearch_first_item(l = 0, r = size - 1, &pred)
		i = bsearch_first_index(l, r, &pred)
		i ? self[i] : nil
	end

	def bsearch_last_index(l = 0, r = size - 1, &pred)
		return nil if l > r
		c = (l + r) / 2 
		if pred[self[c]]
			bsearch_last_index(c+1, r, &pred) || c
		else
			bsearch_last_index(l, c-1, &pred)
		end
	end

	def bsearch_last_item(l = 0, r = size - 1, &pred)
		i = bsearch_last_index(l, r, &pred)
		i ? self[i] : nil
	end
end

n, m, l = gets.split.map &:to_i

def comb(n, k)
	c = 1	
	(1..k).each do |i|
		c = c * (n - i + 1) / i
	end
	c
end

a = []
(0..n-1).each do |i|
	a[i] = []
	p, r, v = gets.split.map &:to_i		
	p /= 100.0
	a[i] = (0..m).map do |k|
		prob = p ** k * (1 - p) ** (m - k) * comb(m, k)
		[(v == 0 ? Float::INFINITY : l.to_f / v + r * k), prob]
	end
	
	tmp = a[i].map(&:last).reverse.accum[1..-1].reverse
	(0..m).each {|k| a[i][k] << tmp[k] }
end

(0..n-1).each do |i|
	total_prob = 0
	(0..m).map do |k|
		time, prob = a[i][k]
		(0..n-1).each do |j|
			next if j == i
			dist = a[j]
			item = dist.bsearch_first_item {|t, _, _| t > time}	
			prob *= (item ? item[-1] : 0)
		end
		total_prob += prob
	end
	p total_prob
end