Double Date
CodeChefOpen on judge ↗
Chef and Chefina are in love. But not with each other. Chef loves Chefu, and Chefina Cheffa. They're planning a double date but Chef and Chefina like it old school so they have the date and venue written on a note that they want to pass it over to their partners Chefu and Cheffa. The only problem is that there is a solid wall in between. You're given the coordinates of Chef and Chefina (point $P$)
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