高精度算法總結

高精度加法: 先將兩個字符串換成倒序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() {
相關文章
相關標籤/搜索