一、背包问题
1.1 01背包问题
特点:每件物品最多只用于一次 属性包括:最大值(Max)、最小值(Min)、数量 #include<iostream>
#include<algorithm>using namespace std;const int N 1010;int n,m;
int v[N],w[N];
int f[N][N];int main()
{cin>>n>>m;…
bash shell 中的特殊字符详解 [sharp] # 井号 井号常用作注释符号
1.注释示例
# This line is a comment.2.某命令后注释,#号前需要添加一个空格
echo "A comment will follow." # Comment here.
# ^ Note whitespace bef…