编写题解 2751: 超级玛丽游戏 摘要:解题思路: ******** ************ ####....#. #..###.....##.... …… 题解列表 2023年12月24日 0 点赞 1 评论 527 浏览 评分:8.0
编写题解 2812: 球弹跳高度的计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){int h;scanf("%d",&h);int i;double h1=h;double s=0;for(i=1…… 题解列表 2023年12月24日 0 点赞 0 评论 446 浏览 评分:0.0
编写题解 2811: 救援 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <math.h> #include <stdlib.h> // 计算时间的函数 floa…… 题解列表 2023年12月24日 0 点赞 0 评论 549 浏览 评分:0.0
运用第三方排序 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b,c,x; scanf ("%d%d%d",&a,&b,&c); if (a>b) x = a; …… 题解列表 2023年12月24日 0 点赞 0 评论 554 浏览 评分:0.0
完数的判断 摘要:#include<stdio.h>int main(){ int i,j,N; int l; int m; int a[100]; int sum=0; scanf…… 题解列表 2023年12月24日 0 点赞 0 评论 436 浏览 评分:9.9
恒定义找最大数 摘要:解题思路:根据题目为三个数利用三目运算符求最大值注意事项:函数:注意返回值应该为浮点型参考代码:#include<stdio.h>#define MAX(a,b) (a>b?a:b)float c…… 题解列表 2023年12月23日 0 点赞 0 评论 429 浏览 评分:0.0
恒定义之闰年判断[c] 摘要:解题思路: 闰年 判断y%4==0&&y%100!=0||y%400==0?'L':'N' 注意事项:参考代码: #include<stdio.h> …… 题解列表 2023年12月23日 0 点赞 0 评论 471 浏览 评分:0.0
普普通通的恒定义求三角形面积 摘要:解题思路:按题意进行要加上数学函数math.h 和求平方根sqrt注意事项:都为小数参考代码: #include<stdio.h> #include<math.h> #define…… 题解列表 2023年12月23日 0 点赞 0 评论 438 浏览 评分:0.0
懒懒的做法 摘要: 解题思路:求余数用 %注意事项:(+-)a%b=(+-)ca%(-+b)=c参考代码: #include<stdio.h> #define N(a,b) a%b int main…… 题解列表 2023年12月23日 0 点赞 0 评论 416 浏览 评分:0.0
恒定义交换[c语言] 摘要:解题思路:要利用#define N(参数,参数) t=a,a=b,b=t //a+=b,b=a-b,a=a-b 恒定义编译时将N(a,b)替换掉,所以 t要定义,可以在defi…… 题解列表 2023年12月23日 1 点赞 1 评论 406 浏览 评分:10.0