| II SBC São Paulo Programming Marathon |
|---|
| Закончено |
ASCII art is a form of artistic expression that uses only the characters available in computer character encoding tables. Even before computers existed, a similar form of art was created using typewriters. In this task, you must draw the shape of the state of São Paulo following the examples provided. The drawing must be scaled proportionally according to a given integer $$$N$$$.
An integer $$$N$$$ ($$$1 \leq N \leq 50$$$).
The output must contain exactly $$$2N+1$$$ lines consisting only of space characters, '$$$/$$$', '$$$\backslash$$$', or '$$$\_$$$' (their ASCII codes are 32, 47, 92, and 95, respectively).
The drawing must have 2 sides formed by $$$N$$$ '$$$/$$$' characters, 2 sides formed by $$$N$$$ '$$$\backslash$$$' characters, 3 sides formed by $$$N+1$$$ '$$$\_$$$' characters, and 1 side formed by $$$N$$$ '$$$\_$$$' characters.
Spaces must be added so that the drawing matches the sample outputs exactly, and no line may end with trailing spaces. In this problem, any extra or missing spaces will be considered a wrong answer.
1
__ /_ \__ \__/
2
___
/ \
/__ \___
\ /
\___/
3
____
/ \
/ \
/___ \____
\ /
\ /
\____/
| Название |
|---|


