利用C++完成数组插入处理 摘要:解题思路:注意事项:参考代码:#include<iostream>#define TOTAL 10using namespace std;int array[TOTAL],insertnum;int …… 题解列表 2023年12月04日 0 点赞 0 评论 584 浏览 评分:8.0
1231: 杨辉三角 #includeusingnamespacestd;constintN=1000;inta[N][N];intmain(){intn;while(cin>>n){a[1][1]=1;cout 题解列表 2023年12月04日 0 点赞 0 评论 929 浏览 评分:9.9
整数的个数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c=0,d=0,e=0; cin>>a; …… 题解列表 2023年12月04日 0 点赞 0 评论 419 浏览 评分:6.5
2806人口增长问题题解(c++) 摘要:#include using namespace std; int main(){ int b; double a; cin>>a>>b; for(int i=1;i…… 题解列表 2023年12月04日 0 点赞 0 评论 523 浏览 评分:2.0
2182: [编程入门]打印图案 c++萌新 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() {cout <<" *"<<endl;cout <<" * *"<…… 题解列表 2023年12月04日 0 点赞 0 评论 1569 浏览 评分:8.0
Yu:2824:求出e的值 ####解题思路使用循环得到阶乘的值####参考代码```c++#includeusingnamespacestd;intmain(){longlongn,a=1;doublee=1;cin>>n;for(inti=1;i 题解列表 2023年12月04日 0 点赞 0 评论 503 浏览 评分:9.9
题解 2771: 大象喝水 摘要:解题思路:注意事项:参考代码:#incalude <bitz/stdc++.h>usiag namqspace sbd;doubxz r,h;int amzaing(){ cin>>h>>q; …… 题解列表 2023年12月03日 0 点赞 0 评论 437 浏览 评分:5.3
2771: 大象喝水 摘要:解题思路:注意事项:3.14159* r * r * h是圆柱体积,20升要转化成20000毫升参考代码:#include <bits/stdc++.h>using namespace std;int…… 题解列表 2023年12月03日 0 点赞 0 评论 414 浏览 评分:8.7
超级好用的题解!!!!大家快来看啊!!! 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ double h,r,m; cin>>h>>r…… 题解列表 2023年12月03日 0 点赞 2 评论 357 浏览 评分:7.3
公式and代码 摘要:解题思路:a1+(n-1)*d a2-a1=d注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ …… 题解列表 2023年12月03日 0 点赞 0 评论 382 浏览 评分:6.0