← All problemsSign in

Artistica

The students are painting their imaginations on the canvas. One of the students Zetti likes only line segments and he has given a poster composed of only straight line segments to the authorities. But he has violated the frame dimensions asked for poster and has only the last few minutes to rectify this mistake. He knows that you are good at programming and has approached you for help. The task f

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