← All problemsSign in

YOUNG PHYSICIST KIT

Harshi has been a very good girl, so she got exactly what she wanted for her birthday, a "Young physicist" kit! In the kit, there are N types of resistors, connecting wires and an ohmmeter. If a resistor is of type i, it provides a resistance of precisely Ri ohms. As we all know, resistors can be connected in two different ways, in series and parallel. Also, we know that the complete circuit of re

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start