City has $1, ..., n$ citizens. Citizen $c_{i}$ has $v_{i}$ number of votes and each citizen's vote can be bought for certain price $p_{i}$. Election can be won by getting at least half of the votes. Given $F$ funds and knowing that each not bribed person will vote against, can election be won?
I have to show this problem is NP-Complete.
My idea is to just get maximum ammount of votes by using knapsack algorithm and checking if result (value of packed items) $R \gt \frac{1}{2}\sum_{v\in{V}}^{} v$, but i don't know if this is the right thinking, and what's more I have no idea how to show it formally and properly.