Friends Forever
CodeChefOpen on judge ↗
There are three friends Swarnam,Akshita,Shubham. They have to make a project together and have to visit eachother's home. Akshita knows the direction and the distance of both Swarnam's house and Shubham's house. The day comes when Akshita was quite busy but Swarnam and Shubham has to do their work .To do project work Swarnam has to go to Shubham's home . He asked Akshita the location of Shubham's
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