• Custom User Avatar

    Why are you shuffling the array elements? Your code has an infinite loop and that's why it doesn't pass the tests, even the smallest ones where the first sum is greater than 10.

    C# Completions 16065

    9 + 3 is greater than 10 and 3 + 9 is exactly the same, addition is commutative so I don't know what you were trying to achieve with the shuffling. Improve your code, it is not correct.