关于蓝桥杯真题——DNA问题的解法 摘要:解题思路:我在这将DNA分解为了三个部分即一个正的三角形的输出,一个倒三角形的输出,和最后一行的输出。关于这题更简单的方式可以直接划分成两个部分即最后一行的输出和其他部分的输出这里不进行说明。当然还有…… 题解列表 2021年12月09日 0 点赞 0 评论 534 浏览 评分:0.0
1058: 二级C语言-求偶数和(自我感觉挺详细的) 摘要:解题思路:看题目———偶数和,所以一要判断是不是偶数,二是要将偶数相加;题目还没说具体是几个数相加,需要自己输入几个数的,所以不推荐用数组,因为数组大小是确定的,数组[]里面必须是常量,而我们输入的个…… 题解列表 2021年12月09日 0 点赞 0 评论 287 浏览 评分:0.0
编写题解 1058: 二级C语言-求偶数和 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[50],s=0; int n; cin>…… 题解列表 2021年12月09日 0 点赞 0 评论 210 浏览 评分:0.0
编写题解 1057: 二级C语言-分段函数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double x,y; cin>>x; if(x<1…… 题解列表 2021年12月09日 0 点赞 0 评论 374 浏览 评分:0.0
编写题解 1056: 二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double a,b; cin>>a; b=(a-3…… 题解列表 2021年12月09日 0 点赞 0 评论 312 浏览 评分:0.0
编写题解 1053: 二级C语言-平均值计算 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a[10]; int s=0,b,n=0; …… 题解列表 2021年12月09日 0 点赞 0 评论 189 浏览 评分:0.0
编写题解 1040: [编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double e; cin>>e; for(int …… 题解列表 2021年12月09日 0 点赞 0 评论 208 浏览 评分:0.0
C++解题思路 摘要:解题思路: 注意事项: 参考代码: #include<cstdio> #include<iostream> using namespace std; int main() { …… 题解列表 2021年12月09日 0 点赞 0 评论 640 浏览 评分:0.0
编写题解 1044: [编程入门]三个字符串的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string>using namespace std;int main(){ string str1,str2,…… 题解列表 2021年12月09日 0 点赞 0 评论 267 浏览 评分:0.0
编写题解 1043: [编程入门]三个数字的排序 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c; cin>>a>>b>>c; i…… 题解列表 2021年12月09日 0 点赞 0 评论 237 浏览 评分:0.0