2822: 求分数序列和 摘要:```cpp #include #include using namespace std; int main() { int n; double a=1.0,b=2.0,…… 题解列表 2023年01月13日 0 点赞 0 评论 488 浏览 评分:9.9
编写题解 1130: C语言训练-数字母(利用cctype) 摘要:解题思路:我看了一下题解,好像用ctype系列的题解暂时没有。这里就暂且引入一下ctype,操作就稍稍简单一点。ctype.h是C标准函数库中的头文件,定义了一批C语言字符分类函数(C charact…… 题解列表 2023年01月12日 0 点赞 0 评论 301 浏览 评分:0.0
2134混合背包 简单动态规划(简单易理解版) 摘要:解题思路:就是01背包,多重背包,和无限背包合起来,加个判断条件就好了注意事项: 1.这里使用普通的dp数组,方便初学者理解. 加上这道题普通的dp数组也可以过,就不再优化了 …… 题解列表 2023年01月12日 0 点赞 0 评论 402 浏览 评分:9.9
1624: 蓝桥杯算法训练VIP-完数 摘要:```cpp #include using namespace std; void f(int n) { int sum=0; for(int i=1;i…… 题解列表 2023年01月12日 0 点赞 0 评论 295 浏览 评分:9.9
2917: 奇数单增序列 摘要:```cpp #include using namespace std; int main() { int n,a[501],k; cin>>n; for(int…… 题解列表 2023年01月12日 0 点赞 0 评论 373 浏览 评分:9.9
2910: 找最大数序列 摘要:```cpp #include using namespace std; int main() { int n,i,x,a[31],mark=0,max=-1; bool …… 题解列表 2023年01月12日 0 点赞 0 评论 352 浏览 评分:9.9
2118: 信息学奥赛一本通T1179-奖学金 摘要:```cpp #include using namespace std; typedef struct student { int num,c_score,m_score,e_sc…… 题解列表 2023年01月12日 0 点赞 0 评论 467 浏览 评分:9.9
2919: 奖学金 摘要:```cpp #include #include using namespace std; struct student { int id,Chinese,score; }stu…… 题解列表 2023年01月12日 0 点赞 0 评论 326 浏览 评分:9.9
1269: 谁拿了最多奖学金 摘要:```cpp #include #include #include using namespace std; struct Stu { string name; int…… 题解列表 2023年01月12日 0 点赞 0 评论 521 浏览 评分:9.9
2792: 三角形判断 摘要:```cpp #include using namespace std; int main() { int a,b,c; cin>>a>>b>>c; if(a+b…… 题解列表 2023年01月12日 0 点赞 0 评论 569 浏览 评分:9.9