题解列表

筛选

1985 永远都是C语言

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int x,y; scanf("%d",&x); if(x<3) {y=2*x; }else if (x<2……

1980 永远都是C语言

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int x,y,y3; scanf("%d",&x); if(x>15) {y=(x-15)*3+30; p……

字符串分类统计基础解法

摘要:解题思路:先输入字符串,然后统计英文字母、数字、空格、剩下的就是其他字符了。注意事项:注意字符要用单引号。要用与字符串有关的#include<stdio.h>.字符串最后有&#39;\0&#39;,判……

1955 成员C语言666分

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

1954 666cyuyan C语言

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

打印图案,简单易懂(C++)

摘要:解题思路:要什么图案就先找好注意事项:空格的输入,基础知识的应用参考代码:#include<stdio.h>int main(){ printf("  *\n"); printf(" * *\n");……

2001,好懂的方法

摘要:解题思路:勾股定理注意事项:或字符参考代码:#include <stdio.h>#include <math.h>int main(){      int a,b,c;    scanf("%d%d%……