C++高精度加法
#include <string>
#include <iostream>
#include<algorithm>
#define ll long long
using namespace std;
string add(string a,string b){
//大数的加法
a=a.substr(a.find_first_not_of('0')); //去掉字符串开始的0
b=b.substr(b.find_first_not_of('0'));
ll lenA=a.length();
ll lenB=b.length();
ll len=max(lenA,lenB)+10;
//翻转便于求和
reverse(a.begin(),a.end());
reverse(b.begin()