题解列表

筛选

1810cyuyanc语言因 niu

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

1809C语言代码,good

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ double a; scanf("%lf",&a); printf("%.12lf",a); return ……

1808C语言代码,good

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

1807C语言代码,good

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

1806C语言代码,good

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

1668 C语言代码,good

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

C语言代码 萨达十大good

摘要:解题思路:jiuzhe 注意事项:scanf ("|")         /*"|"也要写进去*/参考代码:#include <stdio.h>int main (){ int a;float b;c……

递归永远的神

摘要:看到这题时,就想着用递归做。参考代码:#include<stdio.h> void fun(int n) { if(n==1) printf("A");  else  { ……

1025: [编程入门]数组插入处理

摘要:解题思路:将输入的数据与数组中元素从前往后依次比较,找到位置记住输入数据该插入位置。将其后元素依次后移注意事项:注意0元素,参考代码此种情况单独讨论参考代码:#includeint main(){  ……

数字的处理与判断

摘要:#include<stdio.h> #include<math.h>//调用函数 int main() { int n,i,count=0; int a,c,d; int b,f……