编写题解 2908: 白细胞计数 摘要:解题思路:输入--冒泡排序--去除两边求和并求平均值--求绝对值--求绝对值的最大值--输出注意事项:double 类型用fabs参考代码:#include<stdio.h> #include<mat…… 题解列表 2023年06月04日 0 点赞 0 评论 292 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ char str[256],str1[256]; gets(str); st…… 题解列表 2023年06月04日 0 点赞 0 评论 298 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float consume=0.0,a[11] = {28.9,32.7,45.6,78.0,35.0,8…… 题解列表 2023年06月04日 0 点赞 0 评论 289 浏览 评分:0.0
c语言代码解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n, sum = 0, day_earn = 1,i; scanf("%d", &n); …… 题解列表 2023年06月04日 0 点赞 0 评论 259 浏览 评分:0.0
2923: 病人排队 摘要:解题思路:输入--老人和年轻人分开放入数组--将老人冒泡排序--输出老人和年轻人注意事项:结构体参考代码:#include<stdio.h> struct br{ char id[25]; int a…… 题解列表 2023年06月04日 0 点赞 0 评论 401 浏览 评分:0.0
C++ string 类 字符串比较 摘要:# string类 ```c++ #include"iostream" #include #include using namespace std; vectornums; int…… 题解列表 2023年06月04日 0 点赞 0 评论 459 浏览 评分:0.0
蓝桥杯算法提高VIP-字符串比较 摘要:# string类 ```c++ #include using namespace std; int main() { string a,b; cin>>a>>b; …… 题解列表 2023年06月04日 0 点赞 0 评论 434 浏览 评分:0.0
C++Sost :蓝桥杯基础练习-数列排序 摘要:# 使用sort 头文件 ```c++ #include ``` ```c++ #include #include #include using namespace std; i…… 题解列表 2023年06月04日 0 点赞 0 评论 299 浏览 评分:0.0
2913整数去重 摘要:解题思路:注意事项:参考代码:public class 整数去重 { public static void main(String [] args){ Scanner sc=new…… 题解列表 2023年06月05日 0 点赞 0 评论 356 浏览 评分:0.0
2924: 明明的随机数 摘要:解题思路:输入时去重,不用进行排序,把数字存入数组对应位置,例如k=20,那它的位置就是a[20]。题目是1-1000之间随机数,初始化a[1001]={0},当 !=0 时输出注意事项: 有一千个空…… 题解列表 2023年06月05日 0 点赞 0 评论 375 浏览 评分:0.0