educative.io

Are the test cases broken? Getting WA for all the test cases

Incorrect Output
Input
[1, 2, 5] , 5
Output
[[1, 1, 1, 1, 1], [2, 1, 1, 1], [2, 2, 1], [5]]
Expected
[[1, 1, 1, 1, 1], [1, 1, 1, 2], [1, 2, 2], [5]]

Hello @elliot_alderson,

Thank you for your feedback. We are working on fixing the test cases, and we’ll let you know once the updated version is live.

If you have any more questions or need further clarification, please let us know.

Happy learning!