Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
i found a solution thats 48 characters long, how could i shorten it
Yay, I found the easter egg :D But now I'm stuck :(
what
Do I need to make random tests harder? o_0
Sorry for offtop, but what software you used to generate this image? I was looking for something like that for a while
My solution is just an optimized version of permutating active tasks and calculating minimum time needed, so it's supposed to work.
How does your algorithm fare on this test case?
The current reference solution returns suboptimal answers in some cases, for example:
As shown in the Gantt chart below, the optimal answer is no more than
(4) + (5) + (6) + (7) = 47
minutes, while the reference solution returns48
.Thanks, should be fixed now. I also added a fixed case similar to this to the tests.
The current reference solution returns a clearly incorrect answer in the following test case:
Ahh, that's on me. There was an error in comparing polygons that was corrected in the sample tests but not the main ones. Should be fixed now.
In
Fixed Tests
-Simple Case
-Test 1
, I got the following message:Could you explain why my answer is incorrect? 🤔
.
Really, I have no chance to optimise Python ( or the math ) enough to ever solve it.
Loading more items...