Can't Figure out why answer is wrong: 1238B

Revision en5, by thebigjuicyd, 2020-07-20 19:22:38

I was doing 1238B: Kill 'Em All and this was my solution: 87445913 However, with the way that I did it, the only difference between my solution and the working one is the while loop at the end that goes through values that are the same in the array. I just don't understand why my while loop gets an error while Dukkha's doesn't(has solution that is identical but with a different while loop a the end). Dukkha's Solution: 62167923 Thanks!

Tags #sortings, 1238b

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en5 English thebigjuicyd 2020-07-20 19:22:38 0 (published)
en4 English thebigjuicyd 2020-07-20 19:22:00 897
en3 English thebigjuicyd 2020-07-20 19:21:08 290
en2 English thebigjuicyd 2020-07-20 19:20:29 630 Tiny change: ' solution:\n[submissio' -> ' solution:[submissio'
en1 English thebigjuicyd 2020-07-20 19:17:27 517 Initial revision (saved to drafts)