「學習筆記」C++ 高精度算法

高精度算法解決long long也解決不了的計算ios   高精度的存儲是把每一位單獨存儲,且是倒序存儲,數組num[1]是這個數的個位,num[2]是這個數的十位,以此類推;算法     (一)高精度加法   #include <iostream> #include <cstring> using namespace std; struct HugeInt{ int len; int nu
相關文章
相關標籤/搜索