gaurangkeluskar22 / competitive-programming

Competitive programming solutions from Leetcode, GFG, Codeforces etc.
9 stars 28 forks source link

Create boxTunnel.c #31

Closed bhanuprakash16 closed 2 years ago

bhanuprakash16 commented 2 years ago

Hackerrank : You are transporting some boxes through a tunnel, where each box is a parallelopiped, and is characterized by its length, width and height.

The height of the tunnel feet and the width can be assumed to be infinite. A box can be carried through the tunnel only if its height is strictly less than the tunnel's height. Find the volume of each box that can be successfully transported to the other end of the tunnel. Note: Boxes cannot be rotated.