As building has 8 floors including ground.
So, they have 7 options to leave the lift.
∴ total ways in which persons can leave the lift = 75
As the number of ways in which all persons leave in a different floor can be given by:
7× 6× 5× 4× 3 = 7P5
∴ P(that all leave lift in different floor) = \(\frac{^7P_5}{7^5}\)
Our answer matches with option (a)
∴ Option (a) is the only correct choice