Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
76641 sh25_wanghy 含k个3的数 C++ 解答错误 0 MS 244 KB 511 2025-12-19 15:41:11

Tests(0/4):


#include <iostream> using namespace std; int main() { double h; cin >> h; double total_distance = h; // 第一次下落 double current_height = h; // 计算第2到第10次落地 for (int i = 2; i <= 10; i++) { current_height /= 2; // 反弹高度 total_distance += 2 * current_height; // 反弹+下落 } double tenth_bounce = current_height / 2; // 第10次反弹高度 cout <<"YES"; return 0; }


测评信息: