Each line of input gives a positive integer n (? 2000000000). You are to find two integers a and b formed by rearranging the digits of n, such that a-b is maximum.brianfry713 wrote:Input 191, correct output:911 - 119 = 792 = 9 * 88

In my AC output a - b = 792, with is greater than 720 in your WA output.