-->
当前位置:首页 > 题库

PROGRAMMING:A + B International Edition

Luz5年前 (2021-05-10)题库396
As we all know, $$LC $$is the most important person in the team. The main task of the game is to do some non-technical work, such as serving tea and water to two big brother teammates, knocking complex templates, and translating English topics. Therefore, he is often looked down upon by big brother teammates. But he always felt that he was the most important person in the team! After all, he can't even understand the title, so what can he do? For example, now, he is going to write a question in English to prove his importance.
Give two strings $$a $$and $$B $$, which are composed of lowercase letters, and calculate the value of $$a $+ $$B $. For details, please see the examples and tips.
###Input format:
The first line gives an integer, $$t $, which represents a total of $$t $$groups of data.
Next, $$t $$line, each line gives two strings $$a $$and $$B $$. Input data to ensure that the length of each string does not exceed $$20 $$, and the numbers represented by the two strings are non negative integers.
###Output format:
For each set of input data, output a row of integers representing the value of $$a $+ $$B $.
###Input example:
```in
four
onetwothree fourfivesix
seven eight
zeroone onezero
nine zeroone
```
###Output example:
```out
five hundred and seventy-nine
fifteen
eleven
ten
```
###Tips:
For the first set of input data, we can get this formula: $$123 + 456 $$, and the result is $$579 $$\
For the second set of input data, we can get this formula: $$7 + 8 $$, and the result is $$15 $$\
For the third set of input data, we can get this formula: $$10 + 01 $$, and the result is $$11 $$\
For the fourth set of input data, we can get this formula: $$9 + 01 $$, and the result is $$10 $$.







answer:If there is no answer, please comment