1041: [编程入门]宏定义之找最大数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define MAX(a, b, c)\{\ printf("%.3lf"…… 题解列表 2025年11月04日 0 点赞 0 评论 72 浏览 评分:0.0
[编程入门]实数的打印 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ float num = 0; scanf(&qu…… 题解列表 2025年11月04日 0 点赞 0 评论 69 浏览 评分:0.0
[编程入门]宏定义之闰年判断 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define LEAP_YEAR(year)\{\ if((year % 4 == 0 &am…… 题解列表 2025年11月04日 0 点赞 0 评论 89 浏览 评分:0.0
1147:角谷猜想 摘要:解题思路:注意事项:参考代码: 方法一:#include<stdio.h>int main(){ int num; scanf("%d&quo…… 题解列表 2025年11月04日 0 点赞 0 评论 92 浏览 评分:0.0
用数组进行数字逆序输出 摘要:解题思路:非常简单的用两个循环将数组输入与输出出来注意事项:用空格将打印输出的数组隔开参考代码:#include<stdio.h>int main(){ int arr[10]; int …… 题解列表 2025年11月04日 2 点赞 0 评论 169 浏览 评分:10.0
自己构思的 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[10],sum=0,pj,j; for(j=0;j<=9;j++) { scan…… 题解列表 2025年11月04日 0 点赞 0 评论 91 浏览 评分:0.0
哪里有那么复杂啊 摘要:解题思路:先吃一半,再吃1个注意事项:第N天的时候想吃,只剩一个了,就是还没有吃,逆向操作的话,循环N-1次即可参考代码:#include<stdio.h>int main(){ int …… 题解列表 2025年11月03日 1 点赞 0 评论 139 浏览 评分:0.0
两个for循环解决问题 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,j,k,sum,n; scanf(&…… 题解列表 2025年11月03日 3 点赞 1 评论 176 浏览 评分:0.0
使用冒泡排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main() { int n; &nbs…… 题解列表 2025年11月03日 0 点赞 0 评论 114 浏览 评分:0.0
3个for循环解决问题 摘要:解题思路:注意事项:参考代码:#include<math.h>#include<stdio.h>int main(){ int i,j,k; doub…… 题解列表 2025年11月03日 0 点赞 0 评论 155 浏览 评分:0.0