2026/08/20·97 行代码·C++·完整程序bigInt 大整数及加法乘法模板包含了 bigInt 大整数的结构体封装,加法、高精度*单精度乘法、高精度*高精度乘法重载(不考虑负数)#include <bits/stdc++.h> using namespace std; struct bigInt { int digit[1000] = {0}, len = 0; // s 的默认值为 “0”,可以不用传参#高精度