题解列表

筛选

简易,易懂

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main (){    float a;    scanf ("%f",&a);    if (a>=0)    {      ……

题目意思要理解清楚

摘要:解题思路:注意事项:只动最小值,最大值,第一位,最后一位这四个位置的数字,其他的不动哦。(先找最小值,再找最大值)参考代码:#include<stdio.h>void f1(int a[]){    ……

最大公约数与最小公倍数

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){    int m, n;    scanf("%d %d", &m, &n); ……

使用方法嵌套来解决此问题

摘要:解题思路:注意事项:参考代码:public static void main(String []args){    int num1,num2,num3;    int max;    Scanner……

年龄与疾病

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int i,n,a[n],b=0,c=0,d=0,e=0;    float f,g,h,j;    sc……