in reply to Re^5: Sorting challenge (Insertion sort)
in thread Sorting challenge

There is a "correct" Perl solution at http://www.codechef.com/viewsolution/625680. You can play with it to find the difference.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
  • Comment on Re^6: Sorting challenge (Insertion sort)

Replies are listed 'Best First'.
Re^7: Sorting challenge (Insertion sort)
by BrowserUk (Patriarch) on Jul 24, 2013 at 15:17 UTC

    Hm. That produces the same output for the sample input as mine does, so it doesn't help with knowing why mine fails.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.