Marvels Box
CodeChefOpen on judge ↗
Jeet, received an odd box from Marvel. The box contained many action figures of all the villains of Marvel universe. Each action figure has a length, l, and the length of the ith figure is l(i-1). Jeet bought the biggest Thor action figure he could from the market. Jeet being a Thor wanted to build a square out of the action figures using exactly 6 of them and knock them out with the mighty Thor
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.
Sign in to chat with the tutor and save your progress.
Sign in to start