Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115318 | 程诺 | 13自由落体 | C++ | Accepted | 0 MS | 264 KB | 252 | 2025-03-30 11:34:19 |
#include <bits/stdc++.h> using namespace std; int main (){ float d,a=100; d=100; for(int i=1;i<=10;i++){ d/=2.0; a+=d*2; } printf("%.6f",a); printf(" "); printf("%.6f",d); return 0; }