Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 327 Bytes

File metadata and controls

21 lines (17 loc) · 327 Bytes

Any Base Multiplication

Easy


  1. You are given a base b.
  2. You are given two numbers n1 and n2 of base b.
  3. You are required to multiply n1 and n2 and print the value.

Example 1:

Input:  5 1220 31
Output:  43320

Constraints:

2 <= b <= 10
0 <= n1 <= 256
0 <= n2 <= 256