题解列表

筛选

弟弟的作业 (C++代码)

摘要:解题思路:重点在字符串转数字方面注意事项:参考代码:#include <iostream>#include <string>using namespace std;int main (){ int n……

IP判断 (C语言代码)

摘要:解题思路:1.IP地址含有3个点“.”2.每一个数字不能以0开头3.每一个数字在[0,9]注意事项:参考代码:#include <stdio.h>#include <string.h>int main……

采药 (C++代码)

摘要:解题思路: 逐渐求最大值(模板题,-多阶段决策问题)注意事项:遍历是从最大值数组中的1到你拥有的时间t参考代码:#include <cstdio>#include <algorithm>using n……