The Challenge Day
It is the end of 2019 — the 17th of November, the Cooking Challenge day. There are $N$ players participating in this competition, numbered $1$ through $N$. Initially, the skill level of each player is zero. There are also $M$ challenges (numbered $1$ through $M$). For each valid $i$, the $i$-th challenge has three parameters $L_i$, $R_i$ and $X_i$ with the following meaning: for each player bet
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start