HBC52108G.出题人说这题有点费脑但不难,数据结构,STL,贪心A+B problem题解

不可一世的小女人 算法基础篇 64 0
想要检验自己的编程水平?来试试全网最全C++题库,让您在挑战中不断进步。
Reversed number is a number written in arabic numerals but the order of digits is reversed. The first digit becomes last and vice versa. And all the leading zeros are omitted. For example: the reversed number of 1234 is 4321. The reversed number of 1000 is 1. We define reversed number of xx x as ff f. Given you two positive integers AA A and BB B, you need to calculate the reversed sum: ff f.

Reversed number is a number written in arabic numerals but the order of digits is reversed. The first digit becomes last and vice versa. And all the leading zeros are omitted. For example: the reversed number of 1234 is 4321. The reversed number of 1000 is 1. We define reversed number of x x x  as f(x) f(x) f(x) . Given you two positive integers A A A  and B B B , you need to calculate the reversed sum: f(f(A)+f(B)) f(f(A) + f(B)) f(f(A)+f(B)) .

HBC52108G.出题人说这题有点费脑但不难,数据结构,STL,贪心A+B problem题解
-第1张图片-东莞河马信息技术
(图片来源网络,侵删)

标签: HBC52108G.出题人说这题有点费脑但不难 数据结构 STL 贪心A+B problem题解