#P1952. 火星上的加法运算
火星上的加法运算
Description
Recently, Huanhuan read a book about Mars and got confused by an addition operation. Since her arithmetic skills are limited, she asks you for help. As an excellent programmer, you certainly won’t refuse.
Input Format
The first line contains the base of the operation . The next two lines contain the characters to be added. Each string has a length of at most digits and represents a base- number. The digits include to and a to z (representing to ).
Output Format
Output their sum in base .
20
1234567890
abcdefghij
bdfi02467j
Hint
Translated by ChatGPT 5
京公网安备 11011102002149号