Ok, I changed the requirements and broke every single solution but, at least now, the output is consistent and a bit more clear (I clarified the description too)
Your return datatype is inconsistent, you're practically forcing implementation details on solvers, and your example solution is ( completely unnecessarily to boot ) coercing implicitly when failed.length===1.
damn it, I thought I had corrected it... thx.
There's a typo in output code block: "Bookings aht the" (while you're at it :P)
done...
Ok, I changed the requirements and broke every single solution but, at least now, the output is consistent and a bit more clear (I clarified the description too)
this one isn't beyond repair. Let this open the time I modify it...
and why did you approve it, then? :o
Your return datatype is inconsistent, you're practically forcing implementation details on solvers, and your example solution is ( completely unnecessarily to boot ) coercing implicitly when
failed.length===1
.On all counts: please don't.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution