← All problemsSign in

Saying Hello

Once upon a time, Bob decided to say ‘Hello’ to Alice. Knowing that Alice had a soft corner for bicyclists, he took out his bike and decided to cycle to Alice’s home. Now, the hometown of Alice and Bob - the MathLand, is a very scenic location, hidden somewhere in the Himalayas. Bob being a lover of scenic sights and integer sequences, rated scenery of roads on a weird scale of first 6 Super Awes

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start