ANYWHERE DOOR
CodeChefOpen on judge ↗
Nobita wants to use the "Anywhere Door" to meet Shizuka but Doraemon has set a lock on the "Anywhere Door" because Nobita always uses it carelessly. Lock is a string consisting of uppercase English letters only. Secret Code to crack the password is the length of the longest possible substring consisting of the same character. Nobita is in a hurry and does not have much time to think and also his l
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