Ad
  • Default User Avatar

    @g964 you there??

  • Default User Avatar

    Tests are not broken since 567 people passed the C# kata.
    Sorry but I don't understand your problem: the description says:

    It can happen that a sum is 0 if some numbers are negative.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    I found at least one flaw in your code. Have you thought to all kinds of vectors you can get?

  • Custom User Avatar

    It's difficult to tell exactly what's wrong without seeing your code, but error message suggests that you dereference NULL pointer at some point. Or you return NULL and test suite dereferences it because it expects some valid pointer.

  • Default User Avatar

    My code is passing all the test cases but when i try attempt, it shows error.

    STDERR

    UndefinedBehaviorSanitizer:DEADLYSIGNAL

    ==1==ERROR: UndefinedBehaviorSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000042698b bp 0x000000000000 sp 0x7ffcb05a9c30 T1)

    ==1==The signal is caused by a READ memory access.

    ==1==Hint: address points to the zero page.

    ==1==WARNING: invalid path to external symbolizer!

    ==1==WARNING: Failed to use and restart external symbolizer!

    #0 0x42698a  (/workspace/test+0x42698a)
    #1 0x42a3f8  (/workspace/test+0x42a3f8)
    #2 0x42861e  (/workspace/test+0x42861e)
    #3 0x428087  (/workspace/test+0x428087)
    #4 0x427d4b  (/workspace/test+0x427d4b)
    #5 0x42cd65  (/workspace/test+0x42cd65)
    #6 0x42667d  (/workspace/test+0x42667d)
    #7 0x7fd8f02e8b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #8 0x404879  (/workspace/test+0x404879)
    

    UndefinedBehaviorSanitizer can not provide additional info.
    ==1==ABORTING

    Please help me.