And is it necessary to break on the border of the lobules?(in the condition it is not specified).If this is not the case, then if (k <= a * b) - andy.37 is sufficient
@Komdosh, That's it, thank you!Your explanation deserves to be answered) - VladislavMSK
@ VladislavMSK, As you wish :) - Komdosh
one
Do not put text / code as a picture in the question. - jfs
|
1 answer 1
Divide only once, so it is logical to assume that the broken part must be a multiple of the side, so that you can break off the strip with k slices. Try to draw, it will probably become clearer.
if (k <= a * b)- andy.37 is sufficient