题解列表

筛选

2920: 分数线划定

摘要:```cpp #include #include using namespace std; typedef struct student { int id; int ma……

2918: 成绩排序

摘要:```cpp #include #include using namespace std; typedef struct student { char m[20]; in……

2822: 求分数序列和

摘要:```cpp #include #include using namespace std; int main() { int n; double a=1.0,b=2.0,……

编写题解 1130: C语言训练-数字母(利用cctype)

摘要:解题思路:我看了一下题解,好像用ctype系列的题解暂时没有。这里就暂且引入一下ctype,操作就稍稍简单一点。ctype.h是C标准函数库中的头文件,定义了一批C语言字符分类函数(C charact……

2134混合背包 简单动态规划(简单易理解版)

摘要:解题思路:就是01背包,多重背包,和无限背包合起来,加个判断条件就好了注意事项:  1.这里使用普通的dp数组,方便初学者理解. 加上这道题普通的dp数组也可以过,就不再优化了            ……