Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
6431 | 邓小龙 | 03自由落体 | C++ | Accepted | 0 MS | 264 KB | 448 | 2025-02-24 11:18:14 |
#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ const double G=9.8; //速度公式:V=秒数*G cout<<5*G<<endl;//5秒后的速度 cout<<10*G<<endl;//10秒后的速度 cout<<15*G<<endl;//15秒后的速度 return 0; }