Problems
Contests
Events
Topic
IDE
PacketHub
Login
Description
Editorial
My Submission
1016.A×B Problem
Look up all submission
Status
Time
Memory
Lang.
Submit Date
1016.A×B Problem
Time Limit:1000MS Memory Limit:65535KB
Description
I have a very simple problem for you. Given two integers A and B, your job is to multiply the product is of A × B.
Input
Each line will contain two integers A and B. Process to end of file.Notice that the integers are very large,that means you should not process them by using 32-bit integer.You may assume the**length** of each integer will not exceed 1000.
Output
For each case, output the product is of A × B in one line.
Sample test
Sample input
1 2 3 11 14512451451245124512 15125125124512451245
Sample output
2 33 219502644063494817653152060344354417440
Note
Tags
big number
Post editorial
Editorials
GNU C++ 9.3.0
GNU C 9.3.0
Java 1.8
Python 3.8.4
Lua 5.3
GO 1.12.4
JS - (nodejs 10.19.0)
Login before submit
Test Input
Test Output
1 2 3 11 14512451451245124512 15125125124512451245
Please run you code firstly.
Console
IDE Setting
字体设置
调整适合你的字体大小。
12px
13px
14px
15px
16px
18px
20px
主题设置
切换不同的代码编辑器主题,选择适合你的语法高亮。
Visual Studio
Visual Studio Dark
High Contrast Dark
行宽限制
设置每一行代码的最大字符个数,设置为0则不限制。
0
80
100
120