Twins and kids island
CodeChefOpen on judge ↗
Jayapradha and Jayasruthi are twin sisters. They love adventures and went to kids island as part of their adventure. Every city in that kids island is described by the one-dimensional co-ordinate system. They planned to go to the city located at 0th co-ordinate. Unfortunately, Jayapradha lost her way to reach the city and got trapped at some city located at the nth co-ordinate. But Jayasruthi reac
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