###### tags: `I2P(I)Hu2023` # 13487 - We stack more boxes > by schdoel ## Brief The boy wants to build a building with height h from stacks of boxes. n is the number of boxes that he already stacked and l is the length of each box. How many boxes x should the boy stack to reach height h ? And what is the volume v of the building? Note: The box is a cube. ## Solution Calculate the remaining boxes needed, by dividing the total height with length of the box, and substract the number of boxes the boy have at the moment. For second question, calculate the volume of the building You have to print '\n' for the output ## Reference Code ```cpp= #include <stdio.h> int main(void) { int h, n, l; scanf("%d%d%d", &h, &n, &l); printf("%d %d\n", h/l-n, h*l*l); return 0; } ```