2015年7月5日

快速傅立叶 FFT&&NTT

摘要: 模板类-->大数相 HDU1402#include #include #include #include using namespace std;const int N = 500005;const double PI = acos(-1.0);struct Virt{ double r, i... 阅读全文

posted @ 2015-07-05 20:36 forgot93 阅读(170) 评论(0) 推荐(0) 编辑

Set 技巧之一

摘要: 我们知道set中 用setS; S.lower_bound(x): 查找Set中 第一个>=x的数,返回结果是指针。 S.upper_bound(x):查找Set中 第一个大于x的数,返回结果是指针。如果想要找到set中小于等于(x)的数,... 阅读全文

posted @ 2015-07-05 18:46 forgot93 阅读(1123) 评论(0) 推荐(0) 编辑

导航