← All problemsSign in

Rectangular Samosa

The samosa wala bhaiya had rolled some dough to make his special samosa and to make up to create $N$ samosa, each of which is a rectangle because our samosa wala bhaiya is very creative. He was just about to put them in the hot oil tawa when he remembered that the crispy edges of samosa taste particularly delicious.Since our Samosa wala bhaiya is also a lover of Geometry so, he thinks he would be

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