题解列表

筛选

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

[编程入门]求和训练

摘要:解题思路:注意事项:参考代码:#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])……