大整数加法的双向链表写法 摘要:参考代码:#include<stdio.h> #include<stdlib.h> #include<string.h> struct lennum{ int num; struct l…… 题解列表 2023年11月22日 0 点赞 0 评论 227 浏览 评分:6.0
1025: [编程入门]数组插入处理 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { int arr[9],n; for(int i=0; i<9; i++) { scanf("…… 题解列表 2023年11月22日 0 点赞 1 评论 257 浏览 评分:9.9
2834: 与指定数字相同的数的个数 摘要:``` #include using namespace std; int a[100000],n,num,ans; int main(){ cin>>n; for( int i=1;…… 题解列表 2023年11月22日 0 点赞 0 评论 356 浏览 评分:0.0
题解 1234: 检查一个数是否为质数 摘要: #include using namespace std; int main(){ int a,b,d; while(cin>>a){ …… 题解列表 2023年11月22日 0 点赞 0 评论 277 浏览 评分:0.0
题解 2831: 画矩形 摘要: #include using namespace std; int main(){ int a,b,d; char c; cin>>a>…… 题解列表 2023年11月22日 0 点赞 0 评论 299 浏览 评分:0.0
3020: 最大数位置 摘要:``` #include using namespace std; int a[100000],n,maxx,num; int main(){ cin>>n; maxx = -1; …… 题解列表 2023年11月22日 0 点赞 0 评论 428 浏览 评分:9.9
判断水仙花 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int n,ge,shi,bai; //scanf("%d",&n)…… 题解列表 2023年11月22日 0 点赞 0 评论 288 浏览 评分:9.9
优质题解 数列极差题解(C++和Java)(超级详细,带有贪心策略的证明) 摘要:# 数列极差题解(C++和Java)(超级详细,带有贪心策略的证明) **时间复杂度:O(NlogN) 思路:类似哈夫曼树的操作** ##贪心思路: 从数量小的时候入手 假如有3个数a,b,…… 题解列表 2023年11月22日 0 点赞 0 评论 1089 浏览 评分:9.9
取余操作的运算性质 摘要:参考代码:#include<stdio.h> int main() { int p,m,s=2,r; scanf("%d%d",&p,&m); for(int i=1;i<=p;i++…… 题解列表 2023年11月22日 0 点赞 0 评论 310 浏览 评分:0.0
这个只学到循环就够用,我觉得这个是最适合初学者的方法,无需用数组去存放。 摘要:解题思路:注意事项:参考代码:#define _CRT_SECURE_NO_WARNINGS#pragma warning(disable:6031)//前两行是我编译器的问题,这个有没有都OK的#i…… 题解列表 2023年11月22日 0 点赞 0 评论 276 浏览 评分:0.0