题解 1743: 大整数排序

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

大整数排序 (C++代码)

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<bits/stdc++.h>#include<cstring>#include<cmath>#include<cst……

大整数排序-题解(C++代码)

```cpp#include#include#include#includeusingnamespacestd;boolcmp(stringa,stringb){if(a.size()!=b.size()){if(a.size()n){string*a=newstring[n];for(inti=0;

1743: 大整数排序

摘要:解题思路:把数当成字符串,用向量把他们装起来,长度长的一定比长度短的数大,长度一样就直接判断字符串谁大谁小注意事项:参考代码:#include<bits/stdc++.h> using namesp……

Kanna-大整数排序-C++

#include#include#includeusingnamespacestd;stringnum[10005];//利用string进行大数存储intn;//自定义一个比较大小的函数,方便sort的第三参数使用boolcmp(stringa,

大整数排序-题解(C++代码)

重载```#include#include#include#include#includeusingnamespacestd;intn,m;structbigint{chars[10000];intlen;intoperator<(bigint&b){if(lenb.len){return0;}els