Fluffy and Typing Password
CodeChefOpen on judge ↗
Fluffy the Squirrel is trying to login to his Codechef account. He knows a list of n passwords. If he enters any of these passwords, he will be able to log in to Codechef. He has already typed a string s. However, Flippy the Bird invited him to play a game of tag outside and after playing, he had to continue typing the password. However, he might've made some mistakes while typing the password so
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