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

Правка en5, от 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!

Теги #sortings, 1238b

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en5 Английский thebigjuicyd 2020-07-20 19:22:38 0 (published)
en4 Английский thebigjuicyd 2020-07-20 19:22:00 897
en3 Английский thebigjuicyd 2020-07-20 19:21:08 290
en2 Английский thebigjuicyd 2020-07-20 19:20:29 630 Tiny change: ' solution:\n[submissio' -> ' solution:[submissio'
en1 Английский thebigjuicyd 2020-07-20 19:17:27 517 Initial revision (saved to drafts)