Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100920 刘国平 12自由落体 C++ Accepted 1 MS 264 KB 258 2024-12-14 11:35:02

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main() { //字母是什么数据类型?字符型char float a=100;//初始高度 float b;//弹起高度 for(int i=1;i<=10;i++){ b=a/2; a=b; } printf("%.6f",b); return 0; }