← All problemsSign in

Printer Machine

Voldemort is back again! In order to kill him, Harry porter need to finish the final horcrux. The final horcux is he needs to draw a nested square of different lengths. He only can do the smaller length squares, but fails against the larger ones. Though he is a great magician, he is unable to solve this problem (he is not a programmer :p); he needs an expert to help him. As you are one of the best

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