BRIDGING THE GAP
CodeChefOpen on judge ↗
Our lovely chef once won a free holiday to the amazing Maldives. But after reaching there he found out that the island which was next to him was better than his current, but unfortunately there was no bridge through which he can go to that island. Since he was very creative he found out a way to create a bridge between the two islands There were infinite wooden plank of mass M and length L on the
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