您的位置:首页 > 其它

HDOJ 1402 A * B Problem Plus -- FFT

2014-05-01 22:28 411 查看

A * B Problem Plus

Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)

Total Submission(s): 11652 Accepted Submission(s): 2005

[align=left]Problem Description[/align]
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.

[align=left]Output[/align]
For each case, output A * B in one line.

[align=left]Sample Input[/align]

1
2
1000
2


[align=left]Sample Output[/align]

2
2000


分析:FFT模板。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: