高精度
wlxsq
美丽的风景总是在远方
展开
-
HDU-1865-1sting
这是个高精度的模板题,自己递推一下,找到公式f[n]=f[n-1]+f[n-2],就可以很简单的用模板离线算出所有1的个数的情况;#include#include#include#include#include#include#include#include#include#define LL long longusing namespace std;string f[2原创 2015-07-18 12:55:29 · 798 阅读 · 0 评论 -
ACM-高精度模板(综合篇)
转自:http://blog.csdn.net/u013615904/article/details/43373601在这里,我们约定,能用int表示的数据视为单精度,否则为高精度。所有函数的设计均采用带返回值的形式。本文包含1.高精度加法2.高精度减法3.高精度乘法1)高精度乘高精度的朴素算法2)高精度乘高精度FFT优化算法3)高精度乘单精度4.高精度转载 2015-11-08 11:15:52 · 3933 阅读 · 1 评论 -
【卡特兰数+高精度】HDU1023Train Problem II
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1023Problem DescriptionAs we all know the Train Problem I, the boss of the Ignatius Train Station want to know if all the trains come in strict原创 2016-04-20 21:07:46 · 368 阅读 · 0 评论 -
【默慈金数+高精度】HDU3723Delta Wave【未AC】
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3723Problem DescriptionA delta wave is a high amplitude brain wave in humans with a frequency of 1 – 4 hertz which can be recorded with an elec原创 2016-04-21 14:48:23 · 885 阅读 · 0 评论 -
【卡特兰数+大数】HDU1131Count the Trees
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1131Problem DescriptionAnother common social inability is known as ACM (Abnormally Compulsive Meditation). This psychological disorder原创 2016-04-21 19:13:32 · 428 阅读 · 0 评论