Hi Nidhibatra,You're worrying about a step that's actually a lot faster than it looks. You don't need to run both roots through the whole 3-round chain to see which one dies.
One check, on one number, does it.The shortcut: test only the smaller rootOnce the quadratic gives you x =
1/4 or x =
3/4, ask a single question:
can the survival rate be x = 1/4?The stem hands you a hidden floor:
5 candidates must finish all three rounds (they're the ones getting hired). Survivors after
3 rounds =
64 · x3. So test just the smaller root:
- x =
1/4 - survivors =
64 · (
1/4)3 =
64/64 =
1. Only
1 candidate left - can't fill
5 seats.
Reject.That's it. The larger root (x =
3/4) is the only one left, so it must be the answer - no need to compute anything for it. The statement is
sufficient because exactly one root survives the real-world constraint.
Why you can skip the bigger rootSurvival rate x =
3/4 keeps
more people at every round than x =
1/4. If the smaller x fails the "
5 must remain" floor, the bigger x can only do better - you never need to check it. This is why you always test the
smaller root first: it's the one most likely to break the constraint, and killing it settles the question.
The habit to buildWhenever a DS quadratic gives two roots, don't re-solve the whole problem twice. Instead:
1. Find the
physical constraint buried in the stem (here: "
5 positions must be filled," so ≥
5 must reach round
3).
2. Apply it to the
smaller root - one cube, one comparison.
3. If it fails, the other root wins automatically. Statement is
sufficient.
On this question, that's a
single line of arithmetic -
64 · (
1/4)3 =
1 <
5 - and the second root vanishes. That's the "quick" way you were looking for.
Answer: DNidhibatra
Wouldnt it take a lot of time to check if statement 2 has one possible solution or two? How to do that quickly?