Repetitive String
CodeChefOpen on judge ↗
This is a technology that is used by WonderDoc, an expert doctor in wonderland, and is something similar to DNA. From a blood report he gets a set of characters as a String. Sometimes this String is a repetition of another String. After getting the repetitive String the doctor can say the characteristics of the person who owns the blood. Let’s look at some examples to make it clear. - madmadmadm
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