According to the problem, the probability that a contestant tried ranking the ground is 0.7 and the probability that a contestant charmed 5-10 worms is 0.3.
So, the probability of A or B happening is-

Because the events are not mutually exclusive, where

Then,

Hence, the probability is 0.79.