1019 自由落体的距离计算 摘要:解题思路:注意事项:参考代码#include<stdio.h>#include<math.h>//次数 1 2 3 …… 题解列表 2024年05月12日 0 点赞 0 评论 100 浏览 评分:0.0
自由下落的距离计算(c语言) 摘要:解题思路:注意事项:这个共经过多少米是指从开始到落地所经过的点,而非到落地反弹后的点参考代码:#include <stdio.h> int main(){ int n; float high…… 题解列表 2024年06月03日 0 点赞 0 评论 57 浏览 评分:0.0
简单for循环实现详解 摘要:解题思路:H为high,S为sum。for循环实现。注意事项:①for (int i = 1; i < N; i++):从i=1开始循环,即球从1000M落下后开始计算,所以S初始值先加上初始的H(1…… 题解列表 2024年06月11日 0 点赞 0 评论 192 浏览 评分:9.9
【编程入门】自由下落的距离计算 摘要:参考代码:# include<stdio.h># include<math.h> void ReBack(double M){ double back,sum=M; int i,N; …… 题解列表 2024年06月19日 0 点赞 0 评论 146 浏览 评分:9.9
自由下落的距离计算 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N,i; double M,Sn=0,An=0; scanf("%lf %d",&M,…… 题解列表 2024年08月03日 0 点赞 0 评论 47 浏览 评分:0.0
简单的数学思想 摘要:解题思路:这是一道简单的数学编程题,根据题意,我们可以知道,第n次的高度=初始高度/2的n次方;经过的路径=n-1次小球运动的路径,又因为每一次小球运动的路径=前一次运动路径的一半(n>=1),所以设…… 题解列表 2024年09月05日 0 点赞 0 评论 90 浏览 评分:0.0
c语言,非常简单的, 摘要:解题思路:a/2算反弹高度 同时a/2后乘以2为单次经历的路程注意事项:参考代码:#include<stdio.h>int main(){ double a,b,i,t,sum=0; …… 题解列表 2024年11月01日 0 点赞 0 评论 86 浏览 评分:9.9
1019: [编程入门]自由下落的距离计算(用了一点点C语言) 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cmath>using namespace std; int main(){ double m,n; …… 题解列表 2024年11月06日 0 点赞 1 评论 167 浏览 评分:2.0
最简单易懂的解法{1019} 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double M,N,h=0,H=0; scanf("%lf%lf",&M,&N); for…… 题解列表 2024年11月10日 0 点赞 0 评论 65 浏览 评分:0.0
高中不会的题现在终于解决了!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int i; float a,b,m,n; scanf("%f…… 题解列表 2024年11月13日 0 点赞 0 评论 54 浏览 评分:0.0