Ad
  • Custom User Avatar

    I am getting the same issue here.

    In the simplest case where interpret() just returns 0, the tests take in excess of 11500ms

  • Custom User Avatar

    Thanks for the response, I realise that others had been able to complete this kata.

    The issue that I'm facing is that I don't what is going wrong in my solution to cause this error.

    I should clarify, I only get this error when submitting. When using the tests here or running locally it works fine.

    Whenever I run the code on the same inputs as what failed me when I submit, it passes in the test section. Additionally the amount of test it completes when I submit is not consistent, so I have even tried running with many more tests than I have encountered and still not run into any issues.

    If I could provide any more information I will.

  • Custom User Avatar

    145 C++ completions

    The UB is most probably caused by your solution. Without any further info, nothing can be done about it.

  • Custom User Avatar

    In the C++ version of this kata I am failing due a perhaps a bug with the memory sanitizer?
    This is a copy of the error code:
    UndefinedBehaviorSanitizer:DEADLYSIGNAL
    ==1==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000fb5e70 (pc 0x000000fb5e70 bp 0x7f798e987cb0 sp 0x7ffcedbfe108 T1)

    However when I run the program with the same inputs on either my machine locally or by updating the test cases the program gives the correct result.