~/algor $ cat problems/string/multiply-a-big-number-by-a-digit
Multiply a big number by a digit
Medium
1000 ms
128 MB
66%
A positive integer and a digit are given. Find their product :
Input
One line with a positive integer and a digit separated by a space.
Output
One integer — without leading zeros.
Note
has no leading zero
Examples
Input #1
123456789123456789123456789 9
Output #1
1111111102111111102111111101
Input #2
5 0
Output #2
0