A Simple Test About Knapsack Problem With C++.