Square Bullseye
CodeChefOpen on judge ↗
As we all know Chef is a very innovative guy. He likes to twist around the way we work regularly. One day in a shooting range, he saw the Bullseye and an idea came to his mind to draw a new kind of Bullseye but instead of circles he would make it with squares. In his version of Bullseye there are concentric square, the innermost square has side of length 1 unit and the outer squares have side 1
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