题解列表

筛选

3009: 判断闰年(c语言)

摘要:解题思路:能被4整除但不能被100整除,能被400整除的年份就是闰年注意事项:参考代码:#include<stdio.h>int main(){    int a;    scanf("%d",&a)……

自定义函数之字符串反转

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>            //strlen()函数在string头文件中,一定得先调用一下  char……

Who&#039;s in the Middle

摘要:解题思路:利用数组,冒泡排序注意事项:参考代码:#include<stdio.h>int main(){ long long int n,i,j; int arr[10000]; scanf("%ll……

2791: 计算邮资

摘要: #include int main() { int a,b,m; char c; scanf("%d %c",&a,&c); if(a1000) { ……

[编程入门]字符串分类统计

摘要:解题思路:注意事项:参考代码:    #include <stdio.h>    #include <string.h>    /*    输入一行字符,分别统计出其中英文字母、数字、空格和其他字符的……