Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75773 王馨桐 13自由落体 C++ Accepted 0 MS 260 KB 178 2024-05-28 19:51:43

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ double h=100,n=100; for(int i=1; i<=10; i++){ n+=h; h/=2; } printf("%.6lf %.6lf",n,h); return 0; }