Ad
  • Default User Avatar

    a compiler behaving weirdly... evidence?

  • Default User Avatar

    If you can provide evidence that the C code is broken, then give examples of input / output, and expected values. Otherwise, take notice that hundreds of coders have succesfully solved the kata in C so far. Given that you had a SIGSEGV, it likely that you had not dynamically allocated memory for the return.