| # | Problem | Pass Rate (passed user / total user) |
|---|---|---|
| 10735 | The interleaved integer |
|
Description
Consider two 3-digit integers M and N. We may interleave their digits to generate two 6-digit integers. For example, if we have M=254 and N=763, we may expand 254 as 2 _5_ 4_ or _2_5_4 and then put the three digits of 763 into the blanks to obtain 275643 or 726534. Your output should be the sum of two numbers, which is 1002177 in this example.
Input
Two 3-digit integers consisting of only 1-9 but not 0.
Output
The sum of the two Interleaved numbers obtained by the procedure mentioned in the problem description.
Note that you do not need to print ‘\n’ at the end of the output.