Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115513 | 胡海峰老师 | 13自由落体 | C++ | Wrong Answer | 0 MS | 256 KB | 208 | 2025-03-31 14:08:35 |
#include <iostream> using namespace std; int main() { float h=10; float tot = h; for(int i=1;i<=10;i++) { tot += h; h = h/2; } printf("%.6f %.6f",tot,h); return 0; }
------Input------
0
------Answer-----
299.804688 0.097656
------Your output-----
29.980469 0.009766