高精度算法总结

高精度加法: 先将两个字符串换成倒序int型,以后用 g 记录进位的数; A + B Problem II #include<bits/stdc++.h> using namespace std; const int maxn = 10000 + 10; char s_1[maxn],s_2[maxn]; int num_1[maxn],num_2[maxn]; int main() {
相关文章
相关标签/搜索