A. AHB time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output A and B are two non-negative integer numbers that both consist of n digits. Let the i-th digit of a number X be Xi. The operation gives an integer number defined as follows: the i-th digit of is equal to |Ai - Bi|. Calculate the result of !
Input The only line of the input contains two space-separated integers A, B (0 ≤ A, B ≤ 109). It is guaranteed that A and B have an equal number of digits.
Output Output a single integer — the result of , without leading zeroes.
Aucun commentaire:
Enregistrer un commentaire