高精度减法,两正数相减,结果可能为负数 摘要:``` #include #include #include using namespace std; const int N=1e5+10; int a[N],b[N],sum[N…… 文章列表 2022年12月30日 0 点赞 0 评论 214 浏览 评分:9.9
快速排序(模板)(yxcnb) 摘要:``` #include using namespace std; const int N=1e6+10; int n; int k[N]; void quick_sort(int k[…… 文章列表 2022年12月30日 0 点赞 0 评论 231 浏览 评分:9.9
数据结构:顺序表的综合应用题 摘要:##数据结构:顺序表的综合应用题 ####01.从顺序表中删除具有最小值的元素(假设唯一)并由函数返回被删元素的值。空出的位置由最后一个元素填补,若顺序表为空,则显示出错信息并退出运行。 ####…… 文章列表 2022年12月30日 0 点赞 0 评论 257 浏览 评分:9.9
蓝桥杯练习2 摘要:##蓝桥杯练习2  ``` #include int main() {…… 文章列表 2023年01月03日 0 点赞 0 评论 270 浏览 评分:9.9
C++编写通讯录(简单解法但有一定缺陷) 摘要:#include<iostream> #include<string> using namespace std; struct One{ char name[10]; int age;…… 文章列表 2023年01月04日 0 点赞 0 评论 178 浏览 评分:9.9
蓝桥杯练习3 摘要:##蓝桥杯练习3  ``` #include int main() {…… 文章列表 2023年01月05日 0 点赞 0 评论 282 浏览 评分:9.9
高精度乘法(两正数相乘,一大一小) 摘要:``` #include #include using namespace std; vector mul(vector &A,int b) { vector C; int t=…… 文章列表 2023年01月05日 0 点赞 0 评论 200 浏览 评分:9.9
高精度减法(c++简洁版)(yxcnb) 摘要:``` #include #include using namespace std; //当A>=B. bool cmp(vector &A,vector &B) { if(A.s…… 文章列表 2023年01月06日 0 点赞 0 评论 193 浏览 评分:9.9
高精度除法(大数除以小数)输出商和余数(yxcnb) 摘要:``` #include #include #include using namespace std; vector div(vector &A,int b,int &r) { …… 文章列表 2023年01月06日 0 点赞 0 评论 299 浏览 评分:9.9
一维差分(模板)(yxcnb) 摘要:``` #include using namespace std; const int N = 1e5+10; int a[N],b[N]; int n; void cha(int l,…… 文章列表 2023年01月08日 0 点赞 0 评论 169 浏览 评分:9.9