← All problemsSign in

Closest Competitors

Hose Menitez is a football manager of a prestigious club in Soccland. He has some unique perception of building a strong team. He feels a sense of competition must exist between players in a team. Unfair as it may sound he is searching for two strikers who may not have necessarily scored the highest goals but are closest in terms of goal difference between them. If more than two players have the l

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start