题解列表
二级C语言-分段函数,C++解决
摘要:解题思路:setprecision函数控制cout的输出小数位数注意事项:参考代码:#include<iostream>#include<iomanip>//控制小数位的头文件using namesp……
新手学习,C++解决
摘要:解题思路:pow求立方注意事项:参考代码:#include<iostream>#include<cmath>using namespace std;int main(){ int n; i……
1019: [编程入门]自由下落的距离计算
摘要:解题思路:等比数列是个数学题注意事项:参考代码:#include<stdio.h>
int main()
{
int n;float h,s,m;
scanf("%f %d",&h,&n);
……
1019: [编程入门]自由下落的距离计算
摘要:#include<stdio.h>
int main()
{
int n;float h,s,m;
scanf("%f %d",&h,&n);
m=h;
s=0;
for(int i=0……