题解列表

筛选

编程入门]猴子吃桃的问题

摘要:解题思路:注意事项:参考代码:# include <stdio.h> int main(){    int sum=1,N;    scanf("%d",&N);    while(--N)     ……

[编程入门]有规律的数列求和

摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){    double Sn=0,an=0,n,i,t,a=2.0,b=1.0;//a为分子,b为分母,an为单项和……

1125题就是漏洞百出

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ printf("A,B,C,F,"); return 0;}……

1036 define帮你自己造定义

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define change(a,b) t=a,a=b,b=t;int main(){    int a,b,t;    scanf(……

1039 我不太喜欢按照规矩来

摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>#define LEAP_YEAR(y) y%4==0&&y%100!=0||y%400==0int ……

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[……