#2485. 【例33.2】 两位数
【例33.2】 两位数
说明
现在有一个两位数,这个两位数十位上的数与个位上的数和为 $a$ ,十位上的数与个位上的数差(大减小)为 $b$ ,那你知道这个两位数是多少吗?输入格式
第一行两个整数$a$,$b$($1≤a≤18$,$0≤b≤9$)。输出格式
输出一行,包含一个整数,表示这个两位数,如果有多种解,输出最小的一个。3 1
12
3 1
12
By signing up a 津桥OJ universal account, you can submit code and join discussions in all online judging services provided by us.