2767: 计算多项式的值 摘要:解题思路:注意事项:先输x后写abcd参考代码:#includeusing namespace std;int main(){ double a,b,c,d,x; cin >>x>>a>>…… 题解列表 2023年11月05日 0 点赞 2 评论 260 浏览 评分:7.3
梯形面积题解 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ double a,b,h,s; a=15; …… 题解列表 2023年11月05日 0 点赞 0 评论 403 浏览 评分:9.9
梯形面积体检 摘要:解题思路: 把高求出来,再用(上底+下底)*高/2。注意事项: 题中说要保留两位小数,记得用"double"和"printf"把梯形面积保留两位小数参考代码:#include<bits/stdc+…… 题解列表 2023年11月05日 0 点赞 0 评论 272 浏览 评分:9.9
2997: 梯形面积 摘要:解题思路:注意事项:三角形的高=s*2/a参考代码:#includeusing namespace std;int main(){ double e; e=150*2/15*(15+25)…… 题解列表 2023年11月05日 0 点赞 2 评论 241 浏览 评分:8.7
2806: 人口增长问题 摘要:``` #include using namespace std; int main(){ int n; double x; cin>>x>>n; for(int i=1; i…… 题解列表 2023年11月05日 0 点赞 0 评论 375 浏览 评分:9.9
2794: 求平均年龄 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; double b,c; cin>>n; for…… 题解列表 2023年11月05日 0 点赞 0 评论 282 浏览 评分:0.0
2805: 乘方计算 摘要:``` #include using namespace std; int main(){ int a,n,sum; cin>>a>>n; sum=1; for(int i=0;…… 题解列表 2023年11月05日 0 点赞 0 评论 283 浏览 评分:7.3
计算邮资 简洁写法 摘要:``` #include using namespace std; int main() { int n; char c; cin >> n >> c; int ans = 8;…… 题解列表 2023年11月05日 0 点赞 0 评论 337 浏览 评分:9.9
2804: 与指定数字相同的数的个数 摘要:``` #include using namespace std; int main(){ int x,k,n,x1=0; cin>>k>>x; for(int i=1; i>n; …… 题解列表 2023年11月05日 0 点赞 0 评论 250 浏览 评分:0.0
c++ STL解法,用上vector容器,sort函数 摘要:#include<iostream> #include<vector> #include<algorithm> using namespace std; bool cmp(int a,int …… 题解列表 2023年11月05日 0 点赞 0 评论 223 浏览 评分:0.0