摘要:
ICMP协议大致分为两类,一种是查询报文,一种是差错报文。其中查询报文有以下几种用途: ICMP 是IP 一部分不依赖IP传递消息。 阅读全文
摘要:
#include #include #include using namespace std; int main() { string str; cin >> str; int len = str.size(); vector >dp(len, vector(len, 0)); //边界条件 长度为1 或者长度为2 的状态 int a... 阅读全文
摘要:
#include #include #include #include using namespace std; int main() { int n, m; string str1, str2; cin >> str1 >> str2; n = str1.size(); m = str2.size(); vector >dp = ve... 阅读全文
摘要:
#include #include #include using namespace std; const int maxn = 100; int main() { int n; cin >> n; vector datas; while (n--) { int tem; cin >> tem; ... 阅读全文
摘要:
#include #include #include using namespace std; const int maxn = 100; int main() { int n; cin >> n; vectordatas; int dp[maxn] = { 0 }; while (n--) { int tem; ... 阅读全文
摘要:
求解问题类型:重叠子问题 两种写法: 递推: 递推: 阅读全文