← All problemsSign in

Grass the ground

Anil has taken up the job of planting grass in a ground. The ground has a shape of a rectangle of dimensions X and Y, there is a semi-circle of diameter X on the rectangle having the dimension X. Help him find the area he has to cover given that X is the width and Y is the length of the ground up to the curve of the ground. For the area found, ignore the part after decimal and display the integer

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start