Who is my Friend
CodeChefOpen on judge ↗
Blake was invited to a secret society and given a challenge. The challenge was that he has to identify his friends among a lot of people wearing masks. If he wrongly identified he will be banished from the society. To distinguish between different people, each of them, including Blake, was given a number (Help Blake identify and count his friends. Also to be kept in Mind, If Blake is the only o
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