coreBugZJ

此 blog 已弃。

A * B Problem Plus,HDOJ 1402

A * B Problem Plus

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



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, output A * B in one line.


Sample Input

1
2
1000
2


Sample Output

2
2000


全整数的 快速傅里叶变换FFT 加速 大整数乘法,使用本博客《全整数无浮点运算的 快速傅里叶变换FFT 加速 大整数乘法,整系数多项式乘法》一文中的代码 256ms 水之。。。


posted on 2011-04-05 21:23 coreBugZJ 阅读(1214) 评论(0)  编辑 收藏 引用 所属分类: ACM


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理