使用结构体数组,简单易懂 摘要:解决本题我使用了结构体数组的方法 每一个小结构体数组存储一个大数,每一个大数使用长度为10000的char类型数组存储 然后比较的时候使用选择排序,内部先把要比较的两个数的长度算出来(可以使用st…… 题解列表 2024年08月01日 0 点赞 0 评论 159 浏览 评分:9.9
大整数排序 (C++代码)stl大法好 摘要:```cpp #include "iostream" #include "cstdio" #include "cstdlib" #include "cstring" #include "cm…… 题解列表 2019年08月05日 0 点赞 0 评论 1304 浏览 评分:9.9
大整数排序-题解(Java代码)-BigInteger 摘要:```java import java.math.BigInteger; import java.util.Arrays; import java.util.Scanner; public…… 题解列表 2019年08月21日 0 点赞 0 评论 1380 浏览 评分:9.9
Kanna-大整数排序-C++ 摘要: #include #include #include using namespace std; string num[10005];//利用stri…… 题解列表 2020年02月02日 0 点赞 0 评论 478 浏览 评分:9.9
大整数排序-题解(C++代码) 摘要:重载 ``` #include #include #include #include #include using namespace std; int n,m; struct bi…… 题解列表 2020年05月26日 0 点赞 0 评论 611 浏览 评分:9.9
大整数排序代码 摘要:#include<stdio.h> #include<math.h> #include<string.h> void swapstr(char*,char*); void swapstr(ch…… 题解列表 2023年11月22日 0 点赞 0 评论 152 浏览 评分:6.0
Hifipsysta-1743-大整数排序(C++代码) 摘要:```cpp #include #include #include #include using namespace std; bool sort_rule(string a, str…… 题解列表 2022年02月10日 0 点赞 0 评论 205 浏览 评分:0.0
关于Python的基本输入输出 摘要:import sys sys.set_int_max_str_digits(100000000) while True: try: n = int(input()) …… 题解列表 2024年07月15日 0 点赞 0 评论 133 浏览 评分:0.0
编写题解 1743: 大整数排序 摘要:解题思路:两个字符串,谁的长度长谁就大,若长度相等,从第一个字符开始比较,注意事项:参考代码:#include<stdio.h>#include<stdlib.h>#include<string.h>…… 题解列表 2024年05月07日 0 点赞 0 评论 140 浏览 评分:0.0
基数排序-C语言 摘要:# MarkDown编辑器基本使用说明 #include #include #include typedef struct s{ char date[1001]; }S;…… 题解列表 2023年11月17日 0 点赞 0 评论 184 浏览 评分:0.0