Printing Stars - 19
Time limit1sMemory limit256 MB
Print the N-level nested square star figure that the sample cases define.
- Level
Easy3 of 10
- Topics
- Recursion, Implementation
- Solved
- No attempts yet
Problem
Work out the drawing rule from the sample cases, then print the picture that matches the given .
Input
The first line contains . ()
Output
Print the picture built by the rule, one line at a time, starting from the first line.