Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
112509 | 毛靖平 | 13自由落体 | C++ | Wrong Answer | 0 MS | 264 KB | 229 | 2025-03-09 15:04:34 |
#include<iostream> using namespace std; int main() { double b=100,c=100; for(int i=1;i<=10;i++){ b=b*0.5; c+=2*b; } c-=2*b; printf("%.6lf",c); cout<<" "; printf("%.6lf",b); return 0; }
------Input------
0
------Answer-----
299.804688 0.097656
------Your output-----
299.609375 0.097656