Round and Round we Go
CodeChefOpen on judge ↗
Babloo wanted to make Babli a friendship band. He wanted it to read 'str' on her wrist. Once he'd done that and Babli had put it on, he realized that apart from str, a lot of other sentences could be read by changing the first word of the sequence. For example “Babli is the best: Babloo” could also be read “the best: BablooBabli“ on her wrist. So, we give you n different str strings followed by a
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