高精度
文章平均质量分 70
zhhx2001
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
刘汝佳biginteger
#include #include #include #include using namespace std; struct BigInteger { static const int BASE = 100000000; static const int WIDTH = 8; vector s; BigInteger(long long num = 0) { *this =转载 2016-06-29 15:29:11 · 1463 阅读 · 0 评论 -
矩阵取数游戏noip2006(c++ BigInteger的第一次运用)---重点!!
今下午对c++BigInteger进行了初步的了解 同时,经过这次,我才深深的体会到了c++的灵活之处 1.对Biginteger的初步认识 2.对c++一些关键字的初步认识 3.对vector的一点长进和对这些容器的感觉整体框架加深 4.对operator的认识又加深了 5.熟悉了对c++字符串的一些处理 一下将在注释中标明 #include #include #incl原创 2016-06-29 18:27:34 · 1282 阅读 · 3 评论 -
biginteger模版,没有压位(较精简)
#include #include #include #include using namespace std; struct bigint { int a[1009],len; bigint() { memset(a,0,sizeof(a)); len=1; } bigint operator =(long long num) { memset(a,0,sizeof原创 2016-07-01 10:06:01 · 423 阅读 · 0 评论
分享