白细胞计数(java) 摘要:解题思路:第一个for循环用来给a数组赋值并且求出最大值,最小值,总和。第一个for循环结束后紧接着求出平均值。第二个for循环将数值给b数组(除了最大值和最小值)。 第三个for循环求出有效样本(即…… 题解列表 2023年05月12日 0 点赞 0 评论 513 浏览 评分:8.0
c++去除空格 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string put(string s){ int n=s.size(); …… 题解列表 2023年05月12日 1 点赞 0 评论 272 浏览 评分:0.0
三位数分解 摘要:```c++ #include #include using namespace std; void Print(int n) { if(n>9) { …… 题解列表 2023年05月12日 0 点赞 0 评论 259 浏览 评分:0.0
蓝桥杯A组C题 摘要:解题思路: 暴力枚举加剪枝只能通过百分之40的样例,剩下的只能通过数论求解或找规律的方式通过。枚举:Math函数sqrt方法开平方求解 x = y²+z², 当 y²-x的开方为整数时count++…… 题解列表 2023年05月12日 0 点赞 0 评论 1376 浏览 评分:9.9
应该考虑到判断的先后顺序也会影响到结果 摘要:解题思路:注意事项:参考代码:l2=input()l1=list(l2.split('-'))n=0s=0##print(l1[0]+l1[1]+l1[2])for i in l1[0…… 题解列表 2023年05月12日 0 点赞 0 评论 346 浏览 评分:0.0
#C++1190—— 剔除相关数(map) 摘要:解题思路:对输入字符数字num进行排序,判断是否为相关数,记得保留原来的字符数字顺序,此处用tp保存,然后输出;注意事项:此题为多组输入,记得清空统计变量,恢复初始状态,对 string 类保存的数字…… 题解列表 2023年05月12日 0 点赞 0 评论 328 浏览 评分:0.0
最小三个数(排序+输出) 摘要:# 冒泡排序 ```c++ #include using namespace std; void Sort(int*nums,int n) { for(int i = 0;i>n…… 题解列表 2023年05月12日 0 点赞 1 评论 443 浏览 评分:9.9
1848: 求输入数据绝对值 摘要:```c++ #include #include #include using namespace std; int main() { double st; whil…… 题解列表 2023年05月12日 0 点赞 0 评论 366 浏览 评分:0.0
sizeof的大作用 摘要:```c++ #include using namespace std; int main() { cout…… 题解列表 2023年05月12日 0 点赞 0 评论 404 浏览 评分:0.0
简单枚举:1636: 蓝桥杯算法训练VIP-整除问题 摘要:```c++ #include using namespace std; int main() { int a,b,factor; cin>>a>>b>>factor;…… 题解列表 2023年05月12日 0 点赞 0 评论 310 浏览 评分:0.0