Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4253 | 邓小龙 | 12自由落体 | C++ | Wrong Answer | 0 MS | 264 KB | 232 | 2024-08-15 14:11:26 |
# include<iostream> # include<iomanip> using namespace std; int main(){ double h=100; cout<<fixed<<setprecision(6); for(int i=1;i<=10;i++){ h=h/2; cout<<i<<":"<<h<<endl; } return 0; }
------Input------
3 12
------Answer-----
0.097656
------Your output-----
1:50.000000 2:25.000000 3:12.500000 4:6.250000 5:3.125000 6:1.562500 7:0.781250 8:0.390625 9:0.195312 10:0.097656