Street Fight
CodeChefOpen on judge ↗
A street fight is taking place. But the rules of the fight are very different from the usual. For the fight only participants must be present and no one else. The participants are divided into 2 teams. Everyone should be in a team. And the number of people on the two teams should not differ by more than 1 and the weight (total) of the people on each team should be as equal as possible. Input T
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