
高精度类bign
AcToy
有志者 事竟成
展开
-
Uva424 - Integer Inquiry
#include #include #include #include using namespace std; const int maxn = 10005; struct bign { int len, s[maxn]; bign() { len = 0; memset(s, 0, sizeof(s)); s[0] = 0; } bign operator原创 2013-10-28 12:16:19 · 586 阅读 · 0 评论 -
Uva10106 - Product
求两个大数的乘积 #include #include #include #include #include const int maxn = 505; using namespace std; struct bign{ int len, s[maxn]; bign() { memset(s, 0, sizeof(s)); len = 1; }原创 2013-10-28 12:30:03 · 650 阅读 · 0 评论