查找特定的值解法:数据结构顺序表解法。在一个序列(下标从1开始)中查找一个给定的值,输出第一次出现的位置。 摘要:解题思路:因为最近学习数据结构,就用数据结构的顺序表来解题,基本想法就是使用顺序表的模板来进行增删改查的操作。显然这里只涉及到插入元素和寻找元素两个操作,至于容量扩增的问题在目前这个题里并不需要,因为…… 题解列表 2025年09月02日 0 点赞 0 评论 272 浏览 评分:0.0
ASCLL码的理解与运用 摘要:不知道$$ASCLL$$码的可以戳这里:[ASCLL码](https://baike.baidu.com/item/ASCII/309296 "ASCLL码")这道题先求字符串的长度,然后遍历字符…… 题解列表 2025年08月30日 0 点赞 0 评论 172 浏览 评分:0.0
自己用类写的,感觉没有第二版好,可以看一下。 摘要:```cpp#includeusing namespace std;class Shijian{ private: int year; int month…… 题解列表 2025年08月25日 0 点赞 0 评论 203 浏览 评分:0.0
c++实现,思路简单明了 摘要:#代码#```cpp#include#includeusing namespace std;int main(){ string s1; int m; …… 题解列表 2025年08月25日 0 点赞 0 评论 166 浏览 评分:0.0
思路简单适合新手,无swap 摘要:#include#includeusing namespace std;int input(int nu[]){ for(int i = 0;i>nu[i]; }…… 题解列表 2025年08月25日 0 点赞 0 评论 144 浏览 评分:10.0
2909: 直方图 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年08月24日 0 点赞 0 评论 71 浏览 评分:0.0
2908: 白细胞计数 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年08月23日 0 点赞 0 评论 125 浏览 评分:0.0
2907: 不与最大数相同的数字之和 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年08月23日 0 点赞 0 评论 108 浏览 评分:0.0
2903: 不高兴的津津 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年08月23日 1 点赞 0 评论 101 浏览 评分:0.0
2905: 最大值和最小值的差 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<iomanip>#include<cmath>using…… 题解列表 2025年08月23日 1 点赞 0 评论 102 浏览 评分:10.0