(Apr-13-2023, 08:56 PM)deanhystad Wrote: Since the code does not do what you want, describe what the code is supposed to do. Maybe provide a sample input and whet the output should be.
Sorry for replying late. I was pretty busy. I've updated the topic again and will simplify it. i just need an edit to make this code run faster. It works so slowly that it is not possible to be efficient as it is.