[编程入门]自定义函数之字符串反转 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h> int exchange(char a[],char b[]){ int i,l,j = 0…… 题解列表 2021年11月10日 0 点赞 0 评论 276 浏览 评分:0.0
[编程入门]自定义函数处理最大公约数与最小公倍数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int fun1(int m,int n); //这要声明两个函数。也可以像下面那样写int fun2(int m,int n);…… 题解列表 2021年11月10日 0 点赞 0 评论 453 浏览 评分:0.0
[编程入门]选择排序 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS 1#include<stdio.h>#define M 10int main(){ int a[M],…… 题解列表 2021年11月10日 0 点赞 0 评论 234 浏览 评分:0.0
编程入门 输出三个数的最大值 摘要:解题思路:利用打擂台的方式把输入的其中一个数放在一个最大值max,然后一次进行比较,大的继续留在max里面,小的则被淘汰注意事项:参考代码:#include<stdio.h>int main(){ i…… 题解列表 2021年11月10日 0 点赞 1 评论 877 浏览 评分:9.9
编程入门]猴子吃桃的问题 摘要:解题思路:注意事项:参考代码:# include <stdio.h> int main(){ int sum=1,N; scanf("%d",&N); while(--N) …… 题解列表 2021年11月10日 0 点赞 0 评论 405 浏览 评分:9.9
[编程入门]有规律的数列求和 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ double Sn=0,an=0,n,i,t,a=2.0,b=1.0;//a为分子,b为分母,an为单项和…… 题解列表 2021年11月10日 0 点赞 0 评论 287 浏览 评分:0.0
1125题就是漏洞百出 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ printf("A,B,C,F,"); return 0;}…… 题解列表 2021年11月10日 0 点赞 0 评论 318 浏览 评分:0.0
1036 define帮你自己造定义 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define change(a,b) t=a,a=b,b=t;int main(){ int a,b,t; scanf(…… 题解列表 2021年11月10日 0 点赞 0 评论 460 浏览 评分:0.0
1041没人能比我更简单,目前看来,求点个赞? 摘要:解题思路:注意事项:参考代码:#include#define s max int main (){ float max,a,b,c;scanf("%f %f %f",&a,&b,&c); max=…… 题解列表 2021年11月10日 0 点赞 0 评论 398 浏览 评分:9.9
1039 我不太喜欢按照规矩来 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include<math.h>#define LEAP_YEAR(y) y%4==0&&y%100!=0||y%400==0int …… 题解列表 2021年11月10日 0 点赞 0 评论 244 浏览 评分:0.0