← All problemsSign in

Space for Offshore Development Center

Problem description. Software Systems Ltd. needs to setup an ODC for a new customer at one of its facilities. The customer wants a rectangular area on a single floor that can be enclosed. There may be pillars on the floor that cause a hindrance for the enclosure to be built. Find the length of the boundary of the largest possible rectangular enclosure. Input The first line contains a and b.

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