Classroom
CodeChefOpen on judge ↗
There’s a classroom in which Chef and Divyam are sitting. The teacher asks them to make some shapes with some paper pieces that are provided to them. The length and width of both the paper pieces are specified. Chef is provided with a square of side length L and Divyam is provided with a rectangle of length A and width B. The one whose shape has a higher area wins. Print the one who is going to wi
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