chak de india!
CodeChefOpen on judge ↗
Coach Kabir khan is taking practice session of players, but as usual preeti is again late, So Kabir khan got angry and decided to punish her. He gave her a task to calculate the strength of $N$ players standing in front of him. All these $N$ players are having their ID from $1$ to $N$ and no two players are having same ID. Strength of a player is defined as number of set bits in binary representat
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