Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102473 | 吴梓玄 | 13自由落体 | C | Wrong Answer | 0 MS | 192 KB | 163 | 2024-12-21 17:08:36 |
#include <stdio.h> int main() { float n=100.0,p,s=100.0; for(int i=1;i<=10;i++){ n=n/2; s=s+n*2; } p=n/2; printf("%.6f %.6f",s,p); return 0; }
------Input------
0
------Answer-----
299.804688 0.097656
------Your output-----
299.804688 0.048828