Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 330 Bytes

File metadata and controls

21 lines (17 loc) · 330 Bytes

Any Base Addition

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 add the two numbes and print their value in base b.

Example 1:

Input:  8 777 1
Output:  1000

Constraints:

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