| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 149058 | 编程星球02 | 13自由落体 | C++ | Wrong Answer | 0 MS | 264 KB | 226 | 2026-03-07 10:41:36 |
#include<iostream> #include<cstdio> using namespace std; int main(){ double h=100,s1=100; for(int i=1;i<=10;i++){ h/=2; s1+=h*2; } printf("%.6lf\n",s1); return 0; }
------Input------
0
------Answer-----
299.804688 0.097656
------Your output-----
299.804688