• + 0 comments

    seems like most of the 50pt solutions fail the following test case

    64 3
    2 8 16
    

    the answer should be

    1 8 64
    

    instead of

    1 2 4 64