Ad
  • Custom User Avatar

    Yep, my mistake, skill issue

    Feels so ashamed right now and thats good for future me I guess. Thank you a lot

  • Custom User Avatar

    From what I can tell, the test is doing assert s == decode(encode(s, n)) - without checking the answer in-between. so what's incorrect is your code, and you have to begin measuring/debugging at encode, not decode.

    Leaving the issue open as it is still poorly communicated by the test output.

  • Custom User Avatar

    I strongly believe there is an issue with TS test case #17. [
    'igG fztc qnpczb kw bpcz',
    'kq slbcp wmsp dccr; Rpc',
    'zb qmdrjw cazsqc wms rp',
    'czb ml kw bpczkq. Ugjjg',
    'zk Wczrq (1865-1939)'
    ]

    As far as I see the last part contain no symbol that could be decoded as 'B'
    is equal to "I have spread my dreams under your feet; Tread softly ecause you tread on my dreams. William Yeats (1865-1939)", but test is awating for 'I have spread my dreams under your feet; Tread softly because you tread on my dreams. William B Yeats (1865-1939)'