← All problemsSign in

Summation over nCr

CodeChefRating 2066Open on judge ↗

"I'm a fan of anything that tries to replace actual human contact." - Sheldon. After years of hard work, Sheldon was finally able to develop a formula which would diminish the real human contact. He found $k$ integers $n_1,n_2...n_k$ . Also he found that if he could minimize the value of $m$ such that $\sum_{i=1}^k$$n$$i$$C$$m$$i$ is even, where $m$ = $\sum_{i=1}^k$$m_i$, he would finish the rea

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