Today's Algorithm Problems I solved
Greedy algorithm, dynamic programming, memory search, etc.
P1 partial knapsack problem You can find the problem on oj :https://www.luogu.com.cn/problem/P2240 AliBaba walked into the treasure cave full of treasures. There are N (less than or equal 100) piles of gold coins in the treasure cave. The total weight and total value of the i-th pile of gold coins...
[Read More]