Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
112511 | 毛靖平 | 13自由落体 | C++ | Accepted | 0 MS | 272 KB | 219 | 2025-03-09 15:05:22 |
#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; } printf("%.6lf",c); cout<<" "; printf("%.6lf",b); return 0; }