← All problemsSign in

Message of Peace

Ashoka has renounced war and wants to spread message of peace via an edict. However, he has been having troubles finding how much paint he needs to buy. So he wants your help to find out how much area he will need to paint. The front side of the edict is to be painted. It has a rectangular shape with a length of $p$ units and a breadth of $q$ units. The teachings engraved on the front of the ed

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