← All problemsSign in

Einsteins Brain Test

Problem Description Little Einstein loves good strings. A good String is a string that only contains vowels (a,e,i,o,u).His teacher decided to take his test.Now,his teacher gave him a string S.Little Einstein is wondering what is the length of the longest good string which is a substring of S. Input First line contains a string S. Output Print an integer denoting the length of the longest goo

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