Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
75772 杨珞烯 13自由落体 C++ Accepted 0 MS 264 KB 183 2024-05-28 19:51:43

Tests(1/1):


Code:

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