Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86755 Kevin 13自由落体 C++ Accepted 0 MS 268 KB 186 2024-07-27 17:49:18

Tests(1/1):


Code:

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