编写题解 1004: [递归]母牛的故事(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int num[56];int main(){ for (int i = 1; i < …… 题解列表 2022年08月07日 0 点赞 0 评论 471 浏览 评分:0.0
蓝桥杯2014年第五届真题-排列序数(C++) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ string str; cin >> str; in…… 题解列表 2022年08月06日 0 点赞 0 评论 322 浏览 评分:0.0
SinzoL--题解 1678: 数据结构-双向循环链表 摘要:####写了五六道链表题,终于能完全靠自己写出一份了 ####我没有按照题目要求来做,没有使用双向循环指针来做,我把需要判断的序号提前了一位,就免去了这个麻烦 下面粘代码: ```cpp #i…… 题解列表 2022年08月06日 0 点赞 0 评论 512 浏览 评分:9.9
二级C语言-分段函数(C++) 摘要:解题思路:本题为数学中常常出现的分段函数,解题方法也极其简单,此题考查了if语句。通过if语句来检查从键盘接受的x的值,根据x的值选择不同的公式,从而计算y的值,因为该分段函数是三段的,所以对应的y的…… 题解列表 2022年08月06日 0 点赞 0 评论 563 浏览 评分:9.9
二级C语言-温度转换(C++版) 摘要:解题思路:这个问题的解决方法很简单,关键在于华氏温度和摄氏温度之间的转换公式,由题目可知,公式为c=5*(f-32)/9。其中c代表摄氏温度,f代表华氏温度。难点讲解:本题的难点在于结果保留两位小数输…… 题解列表 2022年08月06日 0 点赞 1 评论 749 浏览 评分:8.0
蓝桥杯2017年第八届真题-Excel地址(C++) 摘要:解题思路:注意事项:参考代码:#includeusing namespace std;int n;int main(){ cin >> n; vector int p = 0; …… 题解列表 2022年08月06日 0 点赞 0 评论 370 浏览 评分:0.0
2331-信息学奥赛一本通T1180-分数线划定 摘要:解题思路:随便什么排序都能用参考代码:(这里我用冒泡)#include<iostream> using namespace std; struct xx{ int a; int b; }…… 题解列表 2022年08月06日 0 点赞 0 评论 478 浏览 评分:0.0
蓝桥杯2018年第九届真题-递增三元组(很简洁易懂) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;const int N = 1e5 + 7;int a[N];int b[N];in…… 题解列表 2022年08月06日 0 点赞 0 评论 391 浏览 评分:8.0
蓝桥杯2015年第六届真题-打印大X(C++) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int m, n; cin >> m >> n;…… 题解列表 2022年08月06日 0 点赞 0 评论 557 浏览 评分:0.0
1035: [编程入门]自定义函数之字符类型统计 摘要: ```cpp #include #include using namespace std; int main() { string str; int cn…… 题解列表 2022年08月06日 0 点赞 0 评论 595 浏览 评分:9.9