Run ID:6431
提交时间: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; }