MathDB
Problems
Contests
National and Regional Contests
USA Contests
USA - College-Hosted Events
CMIMC Problems
2024 CMIMC
2024 CMIMC Theoretical Computer Science
3
3
Part of
2024 CMIMC Theoretical Computer Science
Problems
(1)
2024 TCS Problem 3
Source:
4/23/2024
In this problem, we explore a variant of the Monty Hall Problem.There are
n
n
n
doors numbered
1
,
…
,
n
1, \dots, n
1
,
…
,
n
. A single gold coin is placed randomly behind one of the doors, with the probability it is placed behind door
i
i
i
equalling
p
i
.
p_i.
p
i
.
There are
r
r
r
"rounds" in which we may make at most
k
k
k
"turns" each, defined as follows:During a "turn", you pick two doors and send them to the game host. Then, the host picks one of the two doors in the following manner: [*]If neither door contains the coin, the host randomly picks one with equal probability. [*] If one of the doors contains the coin, the host picks the door which does not have the coin.The host reveals that the picked door does not contain the coin, and opens it.A "round" consists of Alice performing at least 1 and at most
k
k
k
turns. After all the turns in round
j
j
j
are complete, suppose there are
d
j
d_j
d
j
doors remaining. Bob will compute the probability of each individual door containing the coin. Let
m
j
m_j
m
j
be the minimum of these probabilities computed during the
j
j
j
th round. Then, Bob awards Alice
d
j
m
j
d_jm_j
d
j
m
j
points. Note that Bob will pay Alice
r
r
r
times, and Alice's total payout is the sum of the
r
r
r
individual payouts. Note that opened doors remain revealed between rounds.Suppose
S
S
S
is some strategy that determines which doors Alice sends to the host. Let
F
(
S
,
n
,
k
,
r
,
(
p
1
,
…
,
p
n
)
)
F(S, n,k,r,(p_1, \dots, p_n))
F
(
S
,
n
,
k
,
r
,
(
p
1
,
…
,
p
n
))
be the minimum possible amount Alice could earn with strategy
S
S
S
for parameters
(
n
,
k
,
r
,
(
p
1
,
…
,
p
n
)
)
(n,k,r,(p_1, \dots, p_n))
(
n
,
k
,
r
,
(
p
1
,
…
,
p
n
))
, and let
G
(
n
,
k
,
r
,
(
p
1
,
…
,
p
n
)
)
=
max
S
F
(
S
,
n
,
k
,
r
,
(
p
1
,
…
,
p
n
)
)
.
G(n,k,r,(p_1, \dots, p_n))= \max\limits _S F(S, n,k,r,(p_1, \dots, p_n)).
G
(
n
,
k
,
r
,
(
p
1
,
…
,
p
n
))
=
S
max
F
(
S
,
n
,
k
,
r
,
(
p
1
,
…
,
p
n
))
.
Find all tuples
(
n
,
k
,
r
,
(
p
1
,
…
,
p
n
)
)
(n,k,r,(p_1, \dots, p_n))
(
n
,
k
,
r
,
(
p
1
,
…
,
p
n
))
for which
G
(
n
,
k
,
r
,
(
p
1
,
…
,
p
n
)
)
=
r
.
G(n,k,r,(p_1, \dots, p_n))=r.
G
(
n
,
k
,
r
,
(
p
1
,
…
,
p
n
))
=
r
.
You may find it useful to consider lists where each element of a list is at most double the prior element.Proposed by Hari Desikan
Tcs
CMIMC