题解列表

筛选

白细胞计数(java)

摘要:解题思路:第一个for循环用来给a数组赋值并且求出最大值,最小值,总和。第一个for循环结束后紧接着求出平均值。第二个for循环将数值给b数组(除了最大值和最小值)。 第三个for循环求出有效样本(即……

1322: 沙子合并

摘要:```cpp #include using namespace std; #define maxn 1001 #define INF 1……

2770: 计算浮点数相除的余数

摘要:解题思路:函数注意事项:最基础的方法,适合初学者参考代码:#include <stdio.h>#include <math.h>double a, b, r;int main() { scanf("%……

收集瓶盖赢大奖

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    int a,b;    cin>>a>>b;    ……

禁止作弊!

摘要:解题思路:用勾股定理注意事项:禁止作弊!#include<bits\c++.h>using namespace std;int main(){   int a,b,c;   cin>>a>>b>>c;……

题解:骑车与走路

摘要:各位好,我们学了if的结构,想要知道它的结构请看我的文章我来把关于此题if的结构写出来#include <bits/stdc++.h>    //注意要改万能头    using namespac……

c语言代码解决问题

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int f(int x){    int f1=1,f2=2,i,f3;    if (x == 1)        return f1……