题解列表

筛选

1038不可一世的C语言

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>#define S (a+b+c)/2#define area sqrt(S*(S-a)*(S-b)*……

1130好心疼C语言

摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>         int main(){    char str[……

[编程入门]求和训练

摘要:解题思路:注意事项:参考代码:#include"stdio.h"int main(){    double a,b,c,sum1=0,sum2=0,sum3=0,i,sum=0;    scanf("……

字符串逆序(2行代码)

摘要:解题思路:没什么思路,当成数组,逆序输出即可。注意事项:参考代码:a = input()print(a[::-1])……

[编程入门]Sn的公式求和

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    int n,Sn = 0,i,a = 0;    scanf("%d",&n);    for(i=0; ……

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

摘要:解题思路:#include <stdio.h>#include <ctype.h>int main(){    int letter = 0,number = 0,blank = 0,others =……

1008成绩评定

摘要:解题思路:#include <stdio.h>  //头文件void main() //一个文件的开头{ int a;//赋予与一个值 scanf("%d",&a); if(a<=100) if(a……