Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75725 陈昊然 13自由落体 C++ Accepted 0 MS 264 KB 180 2024-05-28 19:26:30

Tests(1/1):


Code:

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