← All problemsSign in

Logistics Work

Felicity (the annual fest of IIITH) is coming and you are the leader of the logistics team. Felicity's leader asked you to get colourful tape for $N$ square shaped photo frames and gave you the area of those $N$ squares, $i^{th}$ frame has an area $A_i$. The tape will be used on the border of those photo frames and hence, the tape required by a photo frame is equal to the length of its border. 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