[编程入门]数字的处理与判断 摘要:a = input()print(len(a))b = list(a)for i in b: print(i,end=' ')print()print(a[::-1])…… 题解列表 2023年11月23日 0 点赞 0 评论 230 浏览 评分:0.0
有规律的数列求和(无数组版) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; float a=1,b=2; float sum=0; float k,z…… 题解列表 2023年11月23日 0 点赞 0 评论 350 浏览 评分:0.0
双向链表解题,依次输出 摘要:```c #include #include #include typedef struct SList { int num; int grade; struct SList*…… 题解列表 2023年11月23日 0 点赞 0 评论 220 浏览 评分:0.0
1761: 学习ASCII码 摘要:[TOC] # 思路 >直接输出,注意格式转换 # code ```c++ #include using namespace std; int main(){ …… 题解列表 2023年11月24日 1 点赞 0 评论 553 浏览 评分:0.0
题解 2832: 第n小的质数 摘要: #include using namespace std; int a,sum,s=1,q; int main(){ cin>>a; fo…… 题解列表 2023年11月24日 0 点赞 0 评论 237 浏览 评分:0.0
题解 2833: 金币 摘要: #include using namespace std; int main() { int sum=0,d=0,a; cin>>a; …… 题解列表 2023年11月24日 0 点赞 0 评论 170 浏览 评分: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 评论 298 浏览 评分: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 评论 148 浏览 评分: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 评论 230 浏览 评分:0.0
1038: [编程入门]宏定义练习之三角形面积 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h> //注意:代码中用到 sqrt(开平方)需添加头文件<math.h>#define S(a,b…… 题解列表 2023年11月24日 0 点赞 0 评论 144 浏览 评分:0.0