All Questions
1
question
0
votes
1
answer
133
views
Minimize the absolute difference of the sum of two dijoint sets in which terms are in the powers of $p$.
Given $n(n>=1)$ integers $k_1,k_2 \cdots k_n(k_i>=0)$, and an integer
$p>=1$, Johny picks $p^{k_i}$ from $i-th$ category for each category , and he wants to
divide them into two disjoint sets,...