The input description says: "Numbers in the triangle will be in the rangle 0 to 99 inclusive, and may be padded with leading spaces to a maximum length of 2 digits."
Instead, single digit numbers appears to have zeroes as padding, not leading spaces.
Instead, single digit numbers appears to have zeroes as padding, not leading spaces.