Come Together
CodeChefOpen on judge ↗
Batman realises he can't stop the society of supervillains alone. So he decides to put together a team of people with special abilities all over the DC universe so that each hero takes on a single villain. He carefully analyses the strength and weaknesses of all the heroes and villains to make the right hero tackle the right villain. Note that every villain also takes on only a single hero. It tur
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