Palash The Builder
CodeChefOpen on judge ↗
The town of ‘EDGE-ville’ is in dismay. The only bridge connecting it to the rest of the world has broken down. The most renowned builder of EDGE-ville, Palash has been assigned the task of building the bridge. To accomplish this task he has designed a special machine consisting of two parts. The two parts are separated by a distance D. He requires two gears to transmit motion between the two part
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