Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
4252 | 邓小龙 | 12自由落体 | C++ | Wrong Answer | 0 MS | 252 KB | 232 | 2024-08-15 14:11:06 |
# include<iostream> # include<iomanip> using namespace std; int main(){ double h=100; cout<<fixed<<setprecision(2); 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.00 2:25.00 3:12.50 4:6.25 5:3.12 6:1.56 7:0.78 8:0.39 9:0.20 10:0.10