Netflix
Alice, Bob, and Charlie are contributing to buy a Netflix subscription. However, Netfix allows only two users to share a subscription. Given that Alice, Bob, and Charlie have $A, B,$ and $C$ rupees respectively and a Netflix subscription costs $X$ rupees, find whether any two of them can contribute to buy a subscription. ### Input - The first line of input will contain a single integer $T$, deno
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