Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94686 | 刘轻松 | 13自由落体 | C++ | Wrong Answer | 1 MS | 264 KB | 193 | 2024-10-26 11:02:55 |
#include<bits/stdc++.h> using namespace std; int main(){ double h=100,s=100; for(int i=1;i<=11;i++){ h = h/2; s = s+2*h; } s = s-h; printf("%.6lf %.6lf",s,h); return 0; }
------Input------
0
------Answer-----
299.804688 0.097656
------Your output-----
299.853516 0.048828