Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I would suggest looking for an error in the code, there is a big suspicion - the first multiplier asks for size. Well, or dividing size % / msize - it's impossible to say. Well, or the condition will be not less, but more or more-equal. But we will work as is.
int v = msize / size;
if (i < msize % size) ++v;
int teqportion = msize * v;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question