蓝桥杯算法训练-寻找数组中最大值-题解(C语言代码) 摘要:```c #include #define N 100 int main() { int a[N]; int i,n,max=0,ans; scanf("%d",&n); f…… 题解列表 2020年03月15日 0 点赞 0 评论 1674 浏览 评分:9.9
数据结构-表达式求值-题解(C++代码) 摘要:具体分析:到我的简书中可以详细看看https://www.jianshu.com/p/3a6201c03c54 ```cpp #include #include #include #i…… 题解列表 2020年03月15日 0 点赞 0 评论 1713 浏览 评分:9.9
蓝桥杯算法提高-计算行列式-题解(C++代码) 摘要:```cpp #include using namespace std; int a[10][10]={0}; int row,col; int getDet(int a[10][10],i…… 题解列表 2020年03月15日 0 点赞 0 评论 1552 浏览 评分:8.0
20.临时记忆 (C++代码)只做最好的思路! 摘要:这题看起来不难,但要是不太会队列,那这题还是挺难有好的思路的。我刚开始做的时候,居然没有理解题意,码了一个错误(83%错误)的代码,如下: ```cpp #include using names…… 题解列表 2020年03月15日 0 点赞 0 评论 917 浏览 评分:6.3
蓝桥杯 路径之谜 DFS 摘要:# 路径之谜 DFS ## 完整代码 (AC) ```cpp #include #include using namespace std; const int maxn = 25; …… 题解列表 2020年03月15日 0 点赞 0 评论 683 浏览 评分:0.0
排列-题解(C++代码) 摘要:解题思路:三个for循环实现四个数据的全排列,我是看榜首的学神的思路,在这里我是用C++写的,感觉这么做挺新颖的。不过那样做其实不满足题目要求,按题目要求数据如果不是从小到大输入的话,这样的全排列没办…… 题解列表 2020年03月15日 0 点赞 0 评论 948 浏览 评分:0.0
二级C语言-成绩归类-题解(C语言描述 一循环加三变量) 摘要:解题思路:用循环语句来控制一直输入,用三个变量来记录三种不同的成绩情况,没记录一种变量就加一。当输入结束时,输出统计的个数。 ```c #include int main() { …… 题解列表 2020年03月15日 0 点赞 3 评论 3084 浏览 评分:9.9
[编程入门]三个数字的排序 (选择排序法解决) 摘要:#第一次写题解,可能写得不是很清楚,有什么不懂的可以在评论里告诉我 #include using namespace std; int main() { int a,b,c,t; …… 题解列表 2020年03月15日 0 点赞 7 评论 2335 浏览 评分:9.9
[编程入门]自定义函数之字符串拷贝-题解(C语言代码) 摘要: 数值读入,用总数减去截取的数量,然后得出来的字符串用循环存入一个新的字符串数组中,然后输出。 代码: #include #include void www(ch…… 题解列表 2020年03月15日 0 点赞 0 评论 693 浏览 评分:0.0
[编程入门]自定义函数之通用位移-题解(C++代码)STL练习 摘要: #include #include using namespace std; const void DtoB(list& l,unsigned& num){ …… 题解列表 2020年03月15日 1 点赞 0 评论 1024 浏览 评分:0.0