1019: [编程入门]自由下落的距离计算
摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split())sum=0for i in range(1,n+1): m=0.5*m &n……
自由下落的距离问题——Python
摘要:解题思路:注意事项:参考代码:a,b=map(int,input().strip().split())h=a*1/2**bs=aforiinrange(……
普通的循环遍历就能实现
摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double m; double ……
数学方法-推公式---------
摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ double m, n;&nbs……
T1019 自由下落 代码 --简明扼要
摘要:解题思路:1000 500 1 125 2 62.5 3 31.25 4注意事项:参考代码:m,n=map(int,input().spli……