题解列表

筛选

最大公约数与最小公倍数

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

c语言代码详细

摘要:解题思路:注意事项:参考代码:int main (){    int a,b,c,d;    scanf ("%d",&d);    a=d/100;    b=d/10%10;    c=d%10;……

c语言代码详细

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

简易,易懂

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>int main(){    int a,b,c;    for (int i=100; i<1……

1119简单if循环

摘要:解题思路:把数学公式理解就好了注意事项:参考代码:#include<stdio.h>#include<math.h>#define P(x) pow(x,3)int main(){ int a,b,c……

最普通的解题方法

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

一组数组不行就两组

摘要:解题思路:注意事项:在自定义函数中在定义一组数组,用于存放原数组中各数组元素后移形成的各数组元素。参考代码:#include<stdio.h>void f(int a[],int n,int m){ ……

题目意思要理解清楚

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

不懂可评论

摘要:解题思路:注意事项:参考代码:import java.util.Scanner; class Compare {     public static int Compare(int a,int ……