Volume Comparison
Alice has two objects: 1. A cuboid with length $A$ units, height $B$ units, and width $C$ units. 2. A cube with an edge length of $X$ units. Alice wants to know which of the two objects has a larger volume, or if their volumes are equal. ### Input - The first and only line of input will contain four space-separated integers $A$, $B$, $C$ and $X$, the length of the cuboid, the width of the cuboid
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start