[Login|Register]
Problems

Status

Rank

Statistics

Problem F
A * B Problem
Time Limit: 1000ms
Memory Limit: 65536kb
Description
A and B are both integers, which have at most 30 decimal digits. Please calculate A * B.
Input
Each line of the input contains two decimal integers A and B separated with a space character. (-1030< A,B <1030)
Output
For each line of input, print the value of A*B in decimal form on a line by itself.
Sample Input
1 1
-1234567890 10000000010
Sample Output
1
-12345678912345678900
University of Science and Technology of China
Online Judge for ACM/ICPC
Processed in 2.0ms with 2 query(s).