三个数字的排序(C++语言) 摘要:解题思路:输入a[1]至a[3],使用自带函数对输入数组进行排序注意事项:需要使用万能头文件参考代码:#include<bits/stdc++.h>//万能头文件using namespace std…… 题解列表 2022年04月27日 0 点赞 0 评论 473 浏览 评分:9.9
成绩评定(c++语言) 摘要:解题思路:根据题意if判断注意事项:if语句的应用;参考代码:#include<iostream>using namespace std;int main(){ int a; cin>>a…… 题解列表 2022年04月27日 0 点赞 0 评论 763 浏览 评分:8.0
求长方形面积 摘要:解题思路:首先,我们都知道长方形的周长和面积,周长:(a+b)*2,面积:a*b。注意事项:c:和S:要双引号参考代码:#include<iostream>using namespace std;in…… 题解列表 2022年04月27日 0 点赞 1 评论 908 浏览 评分:8.7
1806: [编程基础]输入输出练习之第二个数字 摘要:解题思路:题目让输入3个数,输出第2个输入的数注意事项:不是输出第2大的数参考代码:#include<iostream>using namespace std;int main(){ int a…… 题解列表 2022年04月27日 0 点赞 0 评论 1047 浏览 评分:6.0
利用C++ 集合set特性解题 摘要:``` #include #include #include using namespace std; int M,N; int a[3]; set T; int main(){ …… 题解列表 2022年04月27日 0 点赞 0 评论 489 浏览 评分:9.9
1821: 蓝桥杯2014年第五届真题-拼接平方数 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split()) ls=[] for i in range(1,int(b**(1/2))+1): ls.appen…… 题解列表 2022年04月27日 0 点赞 0 评论 402 浏览 评分:9.9
指针数组的解 摘要:#include int main(){ char *p[7]={{"Sunday"}, {"Monday"}, {"Tuesday"}, \ {"Wednesday"},…… 题解列表 2022年04月27日 0 点赞 0 评论 735 浏览 评分:9.9
编写题解 1487: 蓝桥杯算法提高VIP-不同单词个数统计 摘要:解题思路:利用STL中set的特性,(不允许插入相同的内容)直接输出set的大小即可记录单词的个数注意事项:参考代码:#include #include using namespace std; …… 题解列表 2022年04月27日 0 点赞 0 评论 597 浏览 评分:0.0
编写题解 1484: 蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<math.h> #include<iomanip> using namespace std; int …… 题解列表 2022年04月27日 0 点赞 0 评论 269 浏览 评分:0.0
无标题无标题无标题无标题无标题 摘要:#include <stdio.h>#include <stdlib.h>int main(){ unsigned long long a; unsigned long long b; …… 题解列表 2022年04月27日 0 点赞 0 评论 404 浏览 评分:0.0