有规律的数列求和(无数组版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; float a=1,b=2; float sum=0; float k,z…… 题解列表 2023年11月23日 0 点赞 0 评论 304 浏览 评分:0.0
双向链表解题,依次输出 摘要:```c #include #include #include typedef struct SList { int num; int grade; struct SList*…… 题解列表 2023年11月23日 0 点赞 0 评论 189 浏览 评分:0.0
1761: 学习ASCII码 摘要:[TOC] # 思路 >直接输出,注意格式转换 # code ```c++ #include using namespace std; int main(){ …… 题解列表 2023年11月24日 0 点赞 0 评论 484 浏览 评分:0.0
题解 2832: 第n小的质数 摘要: #include using namespace std; int a,sum,s=1,q; int main(){ cin>>a; fo…… 题解列表 2023年11月24日 0 点赞 0 评论 201 浏览 评分:0.0
题解 2833: 金币 摘要: #include using namespace std; int main() { int sum=0,d=0,a; cin>>a; …… 题解列表 2023年11月24日 0 点赞 0 评论 142 浏览 评分:0.0
2836: 数组逆序重放 摘要:``` #include using namespace std; int main(){ int n; cin>>n; int a[n]; for( int i=1;i>a[i…… 题解列表 2023年11月24日 0 点赞 0 评论 270 浏览 评分:0.0
蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:没学指针就先不用注意事项:参考代码:#include<stdio.h>int main(){ int n,sum=0; scanf("%d",&n); int a[n]; for(int i…… 题解列表 2023年11月24日 0 点赞 0 评论 115 浏览 评分:0.0
2796: 求整数的和与均值 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; double sum=0.0; scanf("%d",&n); int a[n]; for(int…… 题解列表 2023年11月24日 1 点赞 0 评论 188 浏览 评分:0.0
1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> //注意:代码中用到 sqrt(开平方)需添加头文件<math.h>#define S(a,b…… 题解列表 2023年11月24日 0 点赞 0 评论 108 浏览 评分:0.0
素数问题(C语言代码)易理解版 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int i=0; for(int j=2;j<n;j++){…… 题解列表 2023年11月24日 1 点赞 0 评论 634 浏览 评分:0.0