Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
117167 | 胡海峰老师 | 12自由落体 | C++ | Accepted | 1 MS | 264 KB | 264 | 2025-04-13 20:34:37 |
#include <iostream> #include <iomanip> using namespace std; int main(){ int i; float h=100; for(i=1;i<=10;i++) { h = h/2; } cout << fixed << setprecision(6) << h << endl; //固定 设置 精度 return 0; }