Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
154451 姚旭鸿 12自由落体 C++ Accepted 1 MS 264 KB 257 2026-05-30 14:07:47

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { double h = 100.0; // 落地10次,反弹10次 for(int i = 1; i <= 10; i++) { h /= 2; } // 保留6位小数输出 printf("%.6f", h); return 0; }