Ad
  • Custom User Avatar

    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\x8bz} \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?

  • Custom User Avatar

    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

  • Custom User Avatar

    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?

  • Custom User Avatar

    My solution passed even though i don't check for length of the walk

  • Custom User Avatar

    That info should be included in the description, maybe?

  • Custom User Avatar

    Same story. Do you need to see the code?

    Ovidiu

  • Custom User Avatar

    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 []