题解列表
三个数字排序 (原始/三目运算/空瓶)
摘要:解题思路:注意事项:参考代码:原始#include<stdio.h>int main(){ int a,b,c; scanf("%d %d %d",&a,&b,&c); if (a>……
[编程入门]最大公约数与最小公倍数(三种方法)
摘要:解题思路:注意事项:参考代码: 方法一:#include <stdio.h>/*输入两个正整数m和n,求其最大公约数和最小公倍数。*/int m1011(){ int m,n; int mm=0,ss……
[编程入门]字符串分类统计
摘要:解题思路:注意事项:参考代码: #include <stdio.h> #include <string.h> /* 输入一行字符,分别统计出其中英文字母、数字、空格和其他字符的……