1801 League of Legends
Submit solution
Points:
100
Time limit:
1.0s
Memory limit:
32M
Problem types
Allowed languages
C, C++, Java, Python
Description
There's a game called League of Legends. It's a game like Dota. Now you have a simple task - Draw an icon of "League of Legends" by character. The icon is like that: You should draw a border(N * N, N is length of a side) that is width 1 and leave a space inside. Then you should draw an"L".
Input
This problem has several cases. Input until EOF. Each case include a character and an integer N(7 <= N <= 100).
Output
For each case, you should draw an icon of "League of Legends" by the character. Each case divided by a blank line.
Sample
Input
+ 7
* 8
Output
+++++++
+ +
+ + +
+ + +
+ +++ +
+ +
+++++++
********
* *
* * *
* * *
* * *
* **** *
* *
********
Source: XadillaX
Comments