Ad
  • Custom User Avatar

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

  • Custom User Avatar
  • Custom User Avatar

    Sir, in your Kata, The "ORDER BY Species" statement check is sensitive to the indentation and thus throws error unless written in the same way. Please correct that and you'll have a great Kata.

  • Default User Avatar

    Yes, it worked, thanks a lot for being responsive to my issue. Great work
    The thing is all other solutions used a different approach which had a higher time complexity but lower space complexity.

  • Default User Avatar

    Sir, my solution fails because '—'(em dash) not '-'(hyphen) appears in the input and causes segmentation error as it is some higher level UTF character than C's char, please look into this as this is a trivial problem to correct.
    This may also be the reason because of which so low submissions in C are present.

  • Default User Avatar

    Yes sir for C, and if you say that a lot of people have passed the C kata, I will try and look back at my solution more closely. But the main problem I was facing was the expected output containing numbers that weren't part of the list. Thanks a lot for looking into my issue.
    Input: 3 16 9 38 95 1131268 49455 347464 584576831 1324743690 304105689
    Expected: 3 16 9 38 95 1131268 49455 347464 59544965313 496636983114762 85246814996697
    My Output: 3 16 9 38 95 1131268 49455 347464 304105689 1324743690 584576831
    Also if I am pasting this same input and testing the output in sample tests, my solution works.

  • Default User Avatar

    Expected output contains numbers that aren't part of the list and also in some runs negative numbers are inputted.

  • Default User Avatar

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