#HW help
13 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
@viral timber
Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!
ah
so it's the same as making a prefix array of how many times u can divise
alright thank you
!solved
Thank you and let us know if you have any more questions!
Not even an array required
‘’’
if (A % X == 0)
(B / X) - (A / X) + 1;
else
(B / X) - (A / X);
‘’’
yeah i did that
i just said it's the equivalent of using a prefix array
thank you