Spider Man vs Electro
CodeChefOpen on judge ↗
Spiderman crossed the lake and reached the Palace. Now he wants to defeat Electro, And for that he has to make a circuit board with a certain equivalent resistance. He has been provided with all the required devices and the value of the required equivalent resistance is given by $\frac{N}{D}$. He wants to use the resistor with the maximum possible value, such that it can be combined with one or m
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