favourite pen
CodeChefOpen on judge ↗
Ravi likes certain types of pens. We gave a set of pens to Ravi, he chooses only the pens with his favorite types. Print the number of pens Ravi chooses if two strings are given as input. One string $S1$ resembles the type of pens which Ravi likes. Another string $S2$ resembles the set given to Ravi. Letters are case sensitive, so "a" is considered a different type of pen from "A". ### Input - Th
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