Permutes X99164


Statement
 

pdf   zip

html
Public test cases
  • Input

    135
    2468
    2442
    0
    

    Output

    135
    153
    315
    351
    513
    531
    2468
    2486
    2648
    2684
    2846
    2864
    4268
    4286
    4628
    4682
    4826
    4862
    6248
    6284
    6428
    6482
    6824
    6842
    8246
    8264
    8426
    8462
    8624
    8642
    2442
    2424
    2244
    4242
    4224
    4422
    
  • Information
    Author
    HP Codewars BCN
    Language
    English
    Official solutions
    Python
    User solutions
    Python