← All problemsSign in

HELP MAX

Max is a electrician working for private telecommunication company .Max is assigned to a task to provide connection to every home. But he thinks wire provided to him is not sufficient in length so he decide to find the minimum length of wire to connect every house. But max is not able to find it .Max want you to help him find what will be minimum distance. #Input: - First line consists o

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