Is this question really complete?
PROB
Because I can’t understand what’s written in the explanation!!
Is this question really complete?
PROB
Because I can’t understand what’s written in the explanation!!
Any help??
This is the question
You are given 3 types of tickets.
T1 tickets of type 1, the winning ticket
T2 tickets of type 2, the losing ticket
T3 tickets of type 3, the try again ticket
You take out T4 tickets from the sealed box containing all the tickets.
Now, you play the following game
Take out a ticket from the box
If the ticket is of type 1, you win. End the game.
If the ticket is of type 2, you lose. End the game.
If the ticket is of type 3, repeat the game from step 1.
For each test case, output a single line containing the probability that Artem will win