Ad
  • Default User Avatar

    It is not broken in C++. Just think how it should behave with pattern(10). Namely, how the function should 'shear' the numbers (digitwise or numberwise)