Black Widow
CodeChefOpen on judge ↗
Chef is inspired from the $Batman's$ $Signal$ and now wish to make a similar $Signal$ for $Black$ $Widow$. For this, he picks a number $N>2$ and prints a pattern of $(N*2)-1$ lines. For example, for $N=3$ the pattern will have $5$ $lines$ comprising of only '#' symbols separated by $single$ $white-space$ and the complete pattern will look like: # # # # # # # # #
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