A * B Problem Plus,HDOJ 1402
A * B Problem Plus
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
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 閱讀(1231) 評論(0) 編輯 收藏 引用 所屬分類: ACM