Ad
  • Custom User Avatar

    Hi,

    Sorry, but you are wrong in your 2.2+ points. "Choose exactly one element from the sequence and replace it with another integer > 0. You are not allowed to replace a number with itself, or to change no number at all.". exactly one element - nothing about the first element, !=1 element, etc. ([42, 42, 42] => [1, 42, 42])

    Be careful, you should sort your output: [42, 32, 22] => [1, 22, 32]

    I hope this will be helpful