Computer Science, asked by arka6715, 8 months ago

N a crossover fantasy universe, houin kyoma is up in a battle against a powerful monster nomu that can kill him in a single blow. however being a brilliant scientist kyoma found a way to pause time for exactly m seconds. each second, kyoma attacks nomu with certain power, which will reduce his health points by that exact power. initially nomu has h health points. nomu dies when his health points reach 0. normally kyoma performs normal attack with power a. besides from kyoma’s brilliance, luck plays a major role in events of this universe. kyoma’s luck l is defined as probability of performing a super attack. a super attack increases power of normal attack by c. given this information calculate and print the probability that kyoma kills nomu and survives. if kyoma dies print "rip".
constraints
0 < t <= 50
1 <= a, h, c, l1, l2 <= 1000
1 <= m <= 20.
l1<=l2

Answers

Answered by dk2528604
0

Answer:

nice story

Explanation:

hahahahahahahahaha

Similar questions