描述
DB函数使用固定余额递减法返回指定期间内资产的折旧。
语法
DB (cost, salvage, life, period, [month])争论
Argument描述Required/OptionalCostThe initial cost of the asset.RequiredSalvageThe value at the end of the depreciation (sometimes called the salv…
题目链接:分组背包问题 #include <iostream>
#include <algorithm>using namespace std;const int N 110;int n, m;int v[N][N], w[N][N], s[N];
int f[N];int main()
{cin >> n >> m;for(int i 1; i < n; i ){cin >> s[i];for(…