Balance the see-saw
CodeChefOpen on judge ↗
Ajay and his brother went to a garden. They found a see-saw there of huge length. He and his brother wanted to play a game where they will sit on the opposite sides and they wanted the see-saw to be balanced. We know the weights of Ajay and his brother. Now print all the points where he and his brother can sit. The see-saw is of even length (end to end) and the points at which they will sit is mea
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