
数据结构-高精度
文章平均质量分 57
Kim0403
这个作者很懒,什么都没留下…
展开
-
HDU 5686(斐波那契数列大数)
通过分析,可以发现题目就是一个斐波那契数列,但数很大,所以果断高精度模板。 #include #include #include #include using namespace std; string &_string_add_string (const string &a, const string &b, string &res) { int sum_value =原创 2016-05-27 21:54:05 · 707 阅读 · 0 评论 -
Astar Round1 1002 Problem B
全1序列这道题,就是斐波那契大数。 用了一个大数模板。 #include #include #include #include using namespace std; string &_string_add_string (const string &a, const string &b, string &res) { int sum_value = 0, add_bit =原创 2016-06-11 17:34:43 · 368 阅读 · 0 评论