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.
Hi! Running into the same issue as others with test 17 and i don't understand what's wrong. The code encodes and decodes fine running Python locally, but this is the output from running it here:
Message to encode
I have spread my dreams under your feet; Tread softly because you tread on my dreams. William B Yeats (1865-1939)
Encoded message
'ibb \x81z\x8f~ \x8c\x89\x8b
z} \x86\x92 }\x8bz', '\x86\x8c \x8e\x87}\x8b \x92\x88\x8e\x8b \x7f~~\x8d; m\x8b', 'z} \x8c\x88\x7f\x8d\x85\x92 {|z\x8e\x8c\x92\x88\x8e \x8d', '\x8bz} \x88\x87 \x86\x92 }\x8bz\x86\x8c. p\x82\x85\x85', '\x82z\x86 r~z\x8d\x8c (1865-1939)'Could you please point me in the right direction?
Thank you, TOAST3R. I'm working with Python, so I've changed to itertools.combinations, but that didn't fix it. The solution still works on the Examples, but on the Attempt it just shows this Time: 1610ms Passed: 0 Failed: 0 Errors: 1. It's not hitting the time limit anymore, but it's not telling me what that 1 error is, so still stuck
Anyone willing to nudge me in the right direction? I have to code working, so it's able to correctly identify the triangles. But as I expected, it's hitting the 12s run limit for perimeters > 1400. The 3 nested for loops I'm using are most likely the problem and I was never really good with trigonometry. So ... help?
My solution passed even though i don't check for length of the walk
That info should be included in the description, maybe?
Same story. Do you need to see the code?
Ovidiu
Can you explain this? The test list is not empty, so why is it expecting that?
Random Tests
[1762, 581, 1253, 1550, 918]
✘ [918, 1550, 1253, 581, 1762] should equal []