How to solve this problem because the question has not given any criteria for an string to be considered as short
Hackerrank c++ doubt
if you see in the hidden section of the code
you will find that if length is less than 5 then that string is consider as short