Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
117164 胡海峰老师 12自由落体 C++ Accepted 1 MS 264 KB 265 2025-04-13 20:33:37

Tests(1/1):


Code:

#include <iostream> #include <iomanip> using namespace std; int main(){ int i; double h=100; for(i=1;i<=10;i++) { h = h/2; } cout << fixed << setprecision(6) << h << endl; //固定 设置 精度 return 0; }