题解列表
题解 1035: [编程入门]自定义函数之字符类型统计
摘要: #include
#include
int main()
{
char a[100];
int b[4]={0}……
简单易懂的题解(迭代)
摘要:解题思路: 这个题看似简单,必须需要懂它的逻辑才能做出来。经过我动手写,得到了一个规律:第一个数为a,第二个数为 a * 10 ^1 + 第一个数;第三个数等于a * 1……
求偶数和,无数组!!(C语言)
摘要:解题思路:输入m循环判断,无数组(C语言)注意事项:无参考代码:#include<stdio.h>int main(){ int x,i,m,sum=0; scanf("%d",&x); for(i=……
1872:春夏秋冬判断
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int month; while(scanf("%d",&month)!=EOF) { if(month>=……
2226 .c语言练习
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int a,b,c,t; a=b=c=t=0; scanf("%d %d %d",&a,&b,&c); if(……
1011.最大公约数与最小公倍数c语言练习
摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int m,n,x,y,t; scanf("%d %d",&m,&n); y=m*n; while(n!=0)……
1093——字符逆序
摘要:参考代码:#include"stdio.h"
#include"string.h"
typedef char string[111];
string str;
void fun(char *s……