数论-FFT
JeraKrs
本人目前就职于百度商业研发部,有需要内推的朋友简历可发我邮箱 [email protected]
展开
-
hdu 1402 A * B Problem Plus(FFT)
题目链接:hdu 1402 A * B Problem Plus解题思路大数乘法,用fft优化,复杂度为nlog(n)代码#include <cstdio>#include <cstring>#include <cmath>#include <algorithm>using namespace std;typedef long long ll;const int maxn = 2 * 1e原创 2015-10-26 21:12:59 · 541 阅读 · 0 评论 -
hdu 4609 3-idiots(FFT)
题目链接:hdu 4609 3-idiots代码#include <cstdio>#include <cstring>#include <cmath>#include <algorithm>using namespace std;const int maxn = 400040;typedef long long ll;/***************** FFT *************原创 2015-10-26 21:31:20 · 786 阅读 · 0 评论