高精度板子
如题,板子本体。
支持 iostream 输入输出。
各种运算的时间复杂度见注释。
使用范例(P1919 【模板】高精度乘法 | A*B Problem 升级版 ):
#include <bits/stdc++.h>
using namespace std;
namespace BigInt
{
//略
}
int main()
{
using namespace BigInt;
Int a , b;
cin >> a >> b;
cout << a * b << '\n';
}