← All problemsSign in

Hackathon

Allen is the head of an organizing committee of a hackathon. There are n members in the team, and each member i has a working power of pi. Function f(i,j) is the measure of teamwork between members i and j. Then f(i,j) = pi+pi. Function P(S) is the power set of S, consisting some players. Then P(S) = (sigma)f(i,j), for all i and j, where i and j are members in set S. For example, there are 2 pla

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