Company: Nucleus Fintech hackathon_12march
Difficulty: medium
The Game Show (100 Marks) Bebo and Lolo are in the finale of the game show. Currently, Lolo is leading and is a crowd favorite. The game show is such that all the points earned till the finale are considered and cumulated. Bebo has a chance of winning the show too. There are R rounds in the finale where a different task would be given in each round. The winner of each round will get a point. To win the show, Bebo needs to win the rounds such that she has atleast P times the points of Lolo after each round. In this way, she would be able to cover up the lead Lolo has and eventually win the show. Note: Here we are concerned about the points of the finale rounds. The order of winning the rounds corresponds to different ways to win. Two cases where the winning order for Bebo and Lolo is different are considered separate ways to win even if the points are the same. Example: Let's consider, there are 3 rounds. Cases Round 1 Round 2 Round 3 Points 1 Bebo Lolo Bebo Bebo - 2 Lolo - 1 2 Bebo Beb