[编程入门]自由下落的距离计算 摘要:解题思路:很简单注意事项:无参考代码:#include<bits/stdc++.h>usingnamespacestd;intmain(){…… 题解列表 2025年06月06日 1 点赞 0 评论 9 浏览 评分:10.0
T1019 自由下落 代码 --简明扼要 摘要:解题思路:1000 500 1 125 2 62.5 3 31.25 4注意事项:参考代码:m,n=map(int,input().spli…… 题解列表 2025年05月04日 0 点赞 0 评论 132 浏览 评分:0.0
数学方法-推公式--------- 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double m, n;&nbs…… 题解列表 2025年03月19日 0 点赞 0 评论 238 浏览 评分:0.0
普通的循环遍历就能实现 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double m; double …… 题解列表 2025年02月07日 1 点赞 0 评论 461 浏览 评分:0.0
自由下落的距离问题——Python 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().strip().split())h=a*1/2**bs=aforiinrange(…… 题解列表 2025年01月31日 0 点赞 0 评论 348 浏览 评分:0.0
1019: [编程入门]自由下落的距离计算 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split())sum=0for i in range(1,n+1): m=0.5*m &n…… 题解列表 2025年01月20日 0 点赞 0 评论 387 浏览 评分:0.0
自由下落计算 摘要:解题思路:1. luodi 函数:- 首先处理了 n 为 1 和 2 的特殊情况,直接返回相应的计算结果。- 对于 n > 2 的情况,先计算出 luodi(m, n - 1) 和 …… 题解列表 2024年12月28日 0 点赞 0 评论 551 浏览 评分:0.0
1019运用递归的思想,简直easy。 摘要:解题思路:运用递归的思想,简直easy。注意事项:参考代码:#include<stdio.h>double luodi(double m ,double n){ if(n==1) return…… 题解列表 2024年12月22日 2 点赞 0 评论 582 浏览 评分:0.0
C语言之自由下落的距离计算建模是精髓 摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { int m,n; float…… 题解列表 2024年12月09日 2 点赞 0 评论 549 浏览 评分:10.0
自由下落的距离计算C语言 摘要:参考代码:#include <stdio.h> int main() { int M,N,i; double h,m; h=0,m=0; scanf("%d %d",&M,&N);…… 题解列表 2024年12月08日 3 点赞 0 评论 490 浏览 评分:0.0