Ad
  • Default User Avatar

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

  • Default User Avatar

    Tath's exactly wath i'm doing! Thats the weird thing...
    char * res = (char ) malloc (100sizeof(char));
    There is something wrong on how i declare it? I'm using the same code on my IDE and runs propperly

  • Default User Avatar

    I'm having a problem and don't know how to solve it. (i'm using C).

    Test Crashed
    Caught unexpected signal: SIGSEGV (11). Invalid memory access.

    I don't know where to look for it, i suppose it's in the allocation of memory but not sure how to solve it. I try rewrote the code almost completely and i keep getting it. Any ideas?

  • Default User Avatar

    I do, i have a particular return for that type of cases.
    The first 2 test cases are successful, after that i got the error. Sorry, i should have said it before.

  • Default User Avatar

    I'm having a problem to solve this kata in C. I got the following error:

    Test Crashed Caught unexpected signal: SIGSEGV (11). Invalid memory access.

    I've never got it before and couldn't find any usefull information about it. I try the same code i use here on my own compiler and works perfectly, at least with the test cases shown.