Answer the question
In order to leave comments, you need to log in
Why does the loop skip iterations?
I can't figure out why on the second pass of the loop it skips values between 0 and k. I understand that it’s hard to figure out my shit code, but maybe someone can help :)
Otherwise, the project is working correctly, it remains only to fix this problem, and my brain refuses to understand what is happening, it’s also not very clear from the debug, the key points slip through.
Many thanks in advance for your help
Link to the project on GitHub
Answer the question
In order to leave comments, you need to log in
Your break is called on line 226. Psychics now take dollars for their work, so tell us what algorithm you are implementing at all.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question