T
T
tj572017-06-24 15:51:10
Programming
tj57, 2017-06-24 15:51:10

Error in numeric sorting (radix sort) - how to fix it?

https://gist.github.com/tjarrow/bd94a916f844dffcc4... Numerical
sorting by 16th entry is implemented. The problem is that after sorting, some elements are replaced by others (example in the photo). Outputs in 10, but this is normal. Most likely, the dop_mas array is incorrectly filled in the sort itself. How to fix it ?
rJezPyToTqU.jpg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question