Chef & Areas
CodeChefOpen on judge ↗
Chef is trying to take part in the local village math quiz. In the first round, he is asked about shapes and areas. Chef, is confused, he was never any good at math. And also, he is bad at remembering the names of shapes. Instead, you will be helping him calculate the area of shapes. - When he says rectangle he is actually referring to a square. - When he says square, he is actually referri
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