FFT
文章平均质量分 92
Lonvon_
这个作者很懒,什么都没留下…
展开
-
HDOJ 1402. A * B Problem Plus (FFT快速傅里叶变换)
Problem Description Calculate A * B.Input Each line will contain two integers A and B. Process to end of file. Note: the length of each integer will not exceed 50000.Output For each case, outp...原创 2016-09-24 20:24:03 · 905 阅读 · 0 评论 -
HDU 1402. A * B Problem Plus(FFT)
递归版本的FFT还是好写… 输出结果时,注意特殊情况0*0=0#include <iostream>#include <cstdio>#include <complex>#include <cstring>#include <cmath>using namespace std;typedef complex<d...原创 2018-04-02 14:41:30 · 191 阅读 · 0 评论